55CBSElement :: CBSElement(
int n,
Domain *aDomain) :
63 FMElement :: initializeFrom(ir, priority);
70CBSElement :: initializeFinish()
73 FMElement :: initializeFinish();
83 FMElement :: giveInputRecord(input);
98 if ( mtrx == MassMatrix ) {
101 OOFEM_ERROR(
"Unknown Type of characteristic mtrx.");
113 if ( mtrx == LumpedMassMatrix ) {
119 OOFEM_ERROR(
"Unknown Type of characteristic mtrx.");
137CBSElement :: computePrescribedTermsII(
FloatArray &answer, ValueModeType mode,
TimeStep *tStep)
141 this->computePressureLhs(lhs, tStep);
142 this->computeVectorOfPressures(mode, tStep, usp);
149CBSElement :: checkConsistency()
168 for (
auto &gp: *iRule ) {
183 if ( type == IST_Velocity ) {
185 std::vector< Dof* >::const_iterator dofindx;
187 answer.
at(indx++) = (*dofindx)->giveUnknown(VM_Total, tStep);
189 answer.
at(indx++) = (*dofindx)->giveUnknown(VM_Total, tStep);
191 answer.
at(indx++) = (*dofindx)->giveUnknown(VM_Total, tStep);
195 }
else if ( type == IST_Pressure ) {
197 if ( dofindx != n->
end() ) {
199 answer.
at(1) = (*dofindx)->giveUnknown(VM_Total, tStep);
205 return Element :: giveInternalStateAtNode(answer, type, mode, node, tStep);
IntArray boundaryCodes
Boundary sides codes.
virtual void computeDiagonalMassMtrx(FloatArray &answer, TimeStep *tStep)=0
IntArray boundarySides
Array of boundary sides.
static ParamKey IPK_CBSElement_bcodes
virtual void computeConsistentMassMtrx(FloatMatrix &answer, TimeStep *tStep)=0
virtual void computeDeviatoricStress(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)=0
Computes deviatoric stress vector in given integration point and solution step from given total strai...
static ParamKey IPK_CBSElement_bsides
std::vector< Dof * >::const_iterator findDofWithDofId(DofIDItem dofID) const
std::vector< Dof * >::iterator end()
Node * giveNode(int i) const
virtual int giveSpatialDimension()
std::vector< std ::unique_ptr< IntegrationRule > > integrationRulesArray
Domain * giveDomain() const
int number
Component number.
void computeVectorOfVelocities(ValueModeType mode, TimeStep *tStep, FloatArray &velocities)
FMElement(int n, Domain *aDomain)
void beProductOf(const FloatMatrix &aMatrix, const FloatArray &anArray)
InternalStateMode
Determines the mode of internal variable.
#define PM_ELEMENT_ERROR_IFNOTSET(_pm, _componentnum, _paramkey)
#define PM_UPDATE_PARAMETER(_val, _pm, _ir, _componentnum, _paramkey, _prio)