solvers::solid,solidDisplacement: Provided public constant access to state fields
This commit is contained in:
@ -67,11 +67,11 @@ protected:
|
||||
|
||||
// Thermophysical properties
|
||||
|
||||
autoPtr<solidThermo> thermo_;
|
||||
autoPtr<solidThermo> thermoPtr_;
|
||||
|
||||
solidThermo& thermo;
|
||||
solidThermo& thermo_;
|
||||
|
||||
volScalarField& T;
|
||||
volScalarField& T_;
|
||||
|
||||
|
||||
// Thermophysical transport
|
||||
@ -101,6 +101,15 @@ private:
|
||||
|
||||
public:
|
||||
|
||||
// Public Data
|
||||
|
||||
//- Reference to the solid thermophysical properties
|
||||
const solidThermo& thermo;
|
||||
|
||||
//- Reference to the temperature field
|
||||
const volScalarField& T;
|
||||
|
||||
|
||||
//- Runtime type information
|
||||
TypeName("solid");
|
||||
|
||||
|
||||
Reference in New Issue
Block a user