MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / components

Class components

src/functionObjects/field/components/components.H:60–114  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58\*---------------------------------------------------------------------------*/
59
60class components
61:
62 public fieldExpression
63{
64 // Private member data
65
66 //- List of the component field names
67 wordList resultNames_;
68
69
70 // Private Member Functions
71
72 //- Calculate the components of the field with the specified type
73 // and register the result
74 template<class GeoFieldType>
75 bool calcFieldComponents();
76
77 //- Calculate the components of the field with the specified
78 // element type and register the result
79 template<class Type>
80 bool calcComponents();
81
82 //- Calculate the components of the field and return true if successful
83 virtual bool calc();
84
85
86public:
87
88 //- Runtime type information
89 TypeName("components");
90
91
92 // Constructors
93
94 //- Construct from Time and dictionary
95 components
96 (
97 const word& name,
98 const Time& runTime,
99 const dictionary& dict
100 );
101
102
103 //- Destructor
104 virtual ~components();
105
106
107 // Member Functions
108
109 //- Write the component fields
110 virtual bool write();
111
112 //- Clear the component fields from the objectRegistry
113 virtual bool clear();
114};
115
116
117// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Callers 1

components.CFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected