ScalarMeshField
ScalarMeshField
is a subclass of AbstractMeshField. It is used to store scalar variables defined on elements of mesh. We can define the variable either on the nodes of the finite element, or we can define these variables on the quadrature points.
- By defining
varType
we can control how the scalar field changes inside an element. - By defining
fieldType
, we can control how the scalar field over the elements of mesh.
Getting Startedβ
This datatype should be used in the following way:
- Initiate an instance of
ScalarMeshField
. This step will allocate required memory for the scalar field - Then, set the values in
ScalarMeshField
. This action is performed by usingSet
method. There are several ways to useSet
method. The first one requires as to pass an instance ofFEVariable
.
All Methodsβ
ποΈ Structure
ScalarMeshField is an subclass of AbstractMeshField.
ποΈ SetScalarMeshFieldParam
Set parameters for initiating an instance of ScalarMeshField.
ποΈ Initiate
Initiate an instance of ScalarMeshField_.
ποΈ Add
Inheritated from AbstractMeshField.
ποΈ CheckEssentialParam
Inheritated from AbstractMeshField.
ποΈ Deallocate
Inheritated from AbstractMeshField.
ποΈ Display
Inheritated from AbstractMeshField.
ποΈ Export
Inheritated from AbstractMeshField.
ποΈ Get
Inherited from AbstractMeshField
ποΈ GetPointer
Inherited from AbstractMeshField
ποΈ GetPrefix
Inherited from AbstractMeshField
ποΈ Import
Inherited from AbstractMeshField
ποΈ Set
Inherited from AbstractMeshField
ποΈ Shape
Inherited from AbstractMeshField
ποΈ Size
Inherited from AbstractMeshField