Mordicus.Containers.SolutionStructures.SolutionStructureBase module

class SolutionStructureBase(mesh=None, discr=None, fixed=None)[source]

Bases: object

Class containing a SolutionStructureBase, with an internal storage hidden to all its children classes

__storage

contextualization element to interpret the vector as a field

Type:

typeToDefine

mesh

reference mesh for the definition solution is defined

Type:

MeshBase

discr

Discretization. One of ‘node’, ‘gauss’, ‘cell’

Type:

str

GetInternalStorage()[source]
Returns:

internal storage

Return type:

typeToDefine

GetNumberOfComponents()[source]

Returns number of components of the solution

GetNumberOfNodes()[source]

Returns number of points in the support of the solution

SetInternalStorage(_SolutionStructureBase__storage)[source]

Sets the internal storage

Parameters:

__storage (typeToDefine)