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

Class mag

src/functionObjects/field/mag/mag.H:60–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

58\*---------------------------------------------------------------------------*/
59
60class mag
61:
62 public fieldExpression
63{
64 // Private Member Functions
65
66 //- Calculate the magnitude of the field and register the result
67 template<class Type>
68 bool calcMag();
69
70 //- Calculate the magnitude of the field and return true if successful
71 virtual bool calc();
72
73
74public:
75
76 //- Runtime type information
77 TypeName("mag");
78
79
80 // Constructors
81
82 //- Construct from Time and dictionary
83 mag
84 (
85 const word& name,
86 const Time& runTime,
87 const dictionary& dict
88 );
89
90
91 //- Destructor
92 virtual ~mag();
93};
94
95
96// * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * //

Callers 15

magTemplates.CFile · 0.70
mag.CFile · 0.70
randomScalarFunction · 0.50
Test-cubicEqn.CFile · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
notEqualFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
notEqualFunction · 0.50

Calls

no outgoing calls

Tested by 15

randomScalarFunction · 0.40
mainFunction · 0.40
mainFunction · 0.40
mainFunction · 0.40
notEqualFunction · 0.40
mainFunction · 0.40
mainFunction · 0.40
mainFunction · 0.40
notEqualFunction · 0.40
mainFunction · 0.40
fixWeightsFunction · 0.40
mainFunction · 0.40