Muscat.FE.FeaBase module¶
- class FeaBase(spaceDim=3, size=1)[source]¶
Bases:
object
Base class for a finite element solver, this class is experimental
normally a finite element solver has a mesh (self.mesh), a solution vector (self.sol), a linear solver (self.solver), the dimensionality of the physical space (1D,2D,3D) (self.spaceDim), and the number of dofs to allocate the objects. All the other parts (assembly operator, IO). must be defined in the derived class
- ComputeConstraintsEquations()[source]¶
To computhe the cinematic relation in terms of dofs.
The the cinematic relations are stored in the solver
- ComputeDofNumbering(elementFilter=None)[source]¶
This fuction must be eliminated (it uses self.space).
- PushSolutionVectorToUnknownFields()[source]¶
Function to extract fields from the solution vector and to put it into fields data
- PushUnknownFieldsToSolutionVector()[source]¶
Function to extract from the Unknown fields a solution vector