Go to the documentation of this file.
28 #include "Eigen/Sparse"
58 const int rhsIndicesToBeWrapped_[],
59 int nRhsIndicesToBeWrapped,
101 const double* QTotal,
108 const double* QTotal,
void assignProperty(const ElementProperties &property)
Definition: MarmotFiniteElementSpatialWrapper.cpp:61
void assignStateVars(double *stateVars, int nStateVars)
Definition: MarmotFiniteElementSpatialWrapper.cpp:96
MarmotElementSpatialWrapper(int nDim, int nChildDim, int nNodes, int sizeRhsChild, const int rhsIndicesToBeWrapped_[], int nRhsIndicesToBeWrapped, std::unique_ptr< MarmotElement > childElement)
Definition: MarmotFiniteElementSpatialWrapper.cpp:7
std::vector< std::vector< double > > getCoordinatesAtQuadraturePoints()
Definition: MarmotFiniteElementSpatialWrapper.cpp:251
const int nNodes
Definition: MarmotFiniteElementSpatialWrapper.h:44
Definition: MarmotElementProperty.h:42
const int projectedSize
Definition: MarmotFiniteElementSpatialWrapper.h:47
Definition: MarmotElement.h:34
void computeBodyForce(double *P, double *K, const double *load, const double *QTotal, const double *time, double dT)
Definition: MarmotFiniteElementSpatialWrapper.cpp:209
const int nDim
Definition: MarmotFiniteElementSpatialWrapper.h:42
std::unique_ptr< MarmotElement > childElement
Definition: MarmotFiniteElementSpatialWrapper.h:49
int getNNodes()
Definition: MarmotFiniteElementSpatialWrapper.cpp:36
void assignNodeCoordinates(const double *coordinates)
Definition: MarmotFiniteElementSpatialWrapper.cpp:106
void computeYourself(const double *QTotal, const double *dQ, double *Pe, double *Ke, const double *time, double dT, double &pNewdT)
Definition: MarmotFiniteElementSpatialWrapper.cpp:147
int getNDofPerElement()
Definition: MarmotFiniteElementSpatialWrapper.cpp:46
void setInitialConditions(StateTypes state, const double *values)
Definition: MarmotFiniteElementSpatialWrapper.cpp:182
void initializeYourself()
Definition: MarmotFiniteElementSpatialWrapper.cpp:101
DistributedLoadTypes
Definition: MarmotElement.h:47
const int nDimChild
Definition: MarmotFiniteElementSpatialWrapper.h:43
const int unprojectedSize
Definition: MarmotFiniteElementSpatialWrapper.h:47
Definition: MarmotUtils.h:29
Definition: MarmotFiniteElementSpatialWrapper.h:34
StateTypes
Definition: MarmotElement.h:37
Eigen::MatrixXd T
Definition: MarmotFiniteElementSpatialWrapper.h:50
StateView getStateView(const std::string &stateName, int quadraturePoint)
Definition: MarmotFiniteElementSpatialWrapper.cpp:228
std::vector< std::vector< std::string > > getNodeFields()
Definition: MarmotFiniteElementSpatialWrapper.cpp:31
const Eigen::Map< const Eigen::VectorXi > rhsIndicesToBeProjected
Definition: MarmotFiniteElementSpatialWrapper.h:46
const int nRhsChild
Definition: MarmotFiniteElementSpatialWrapper.h:45
std::vector< int > getDofIndicesPermutationPattern()
Definition: MarmotFiniteElementSpatialWrapper.cpp:66
int getNSpatialDimensions()
Definition: MarmotFiniteElementSpatialWrapper.cpp:41
int getNumberOfQuadraturePoints()
Definition: MarmotFiniteElementSpatialWrapper.cpp:270
int getNumberOfRequiredStateVars()
Definition: MarmotFiniteElementSpatialWrapper.cpp:26
std::vector< double > getCoordinatesAtCenter()
Definition: MarmotFiniteElementSpatialWrapper.cpp:237
void computeDistributedLoad(DistributedLoadTypes loadType, double *P, double *K, int elementFace, const double *load, const double *QTotal, const double *time, double dT)
Definition: MarmotFiniteElementSpatialWrapper.cpp:187
Definition: MarmotElementProperty.h:30
std::string getElementShape()
Definition: MarmotFiniteElementSpatialWrapper.cpp:51
Eigen::MatrixXd P
Definition: MarmotFiniteElementSpatialWrapper.h:51
Eigen::MatrixXd projectedCoordinates
Definition: MarmotFiniteElementSpatialWrapper.h:52