37 #include "../sm/Elements/coupledfieldselement.h" 38 #include "../sm/Materials/structuralms.h" 39 #include "../sm/CrossSections/structuralcrosssection.h" 40 #include "../sm/Elements/nlstructuralelement.h" 72 for (
int j = 1; j <= dofIdArray.
giveSize(); j++ ) {
96 for (
int j = 1; j <= dofIdArray.
giveSize(); j++ ) {
118 FloatArray NStress, BStress, vGenStress, NS, BS;
126 if ( NStressFunc && Nfunc ) {
128 NStressFunc(gp, NStress);
133 if ( BStressFunc && Bfunc ) {
135 BStressFunc(gp, BStress);
166 if ( NStiffness && Nfunc ) {
168 NStiffness(D_N, rMode, gp, tStep);
170 if ( matStiffSymmFlag ) {
179 if ( BStiffness && Bfunc ) {
181 BStiffness(D_B, rMode, gp, tStep);
183 if ( matStiffSymmFlag ) {
193 if ( matStiffSymmFlag ) {
CrossSection * giveCrossSection()
virtual IntegrationRule * giveIntegrationRule(int i)
Abstract base class for "structural" finite elements with geometrical nonlinearities.
double & at(int i)
Coefficient access function.
ValueModeType
Type representing the mode of UnknownType or CharType, or similar types.
virtual double giveUnknown(ValueModeType mode, TimeStep *tStep)=0
The key method of class Dof.
CoupledFieldsElement(int i, Domain *aDomain)
void computeVectorOfDofIDs(const IntArray &dofIdArray, ValueModeType valueMode, TimeStep *stepN, FloatArray &answer)
Base class for dof managers.
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
MatResponseMode
Describes the character of characteristic material matrix.
int giveNumberOfIntegrationRules()
void plusProductUnsym(const FloatMatrix &a, const FloatMatrix &b, double dV)
Adds to the receiver the product .
int giveNumberOfDofs() const
DofIDItem
Type representing particular dof type.
virtual bool isCharacteristicMtrxSymmetric(MatResponseMode rMode)
Check for symmetry of stiffness matrix.
void plusProductSymmUpper(const FloatMatrix &a, const FloatMatrix &b, double dV)
Adds to the receiver the product .
virtual double computeVolumeAround(GaussPoint *)=0
Returns volume related to given integration point.
void beTProductOf(const FloatMatrix &aMatrix, const FloatArray &anArray)
Receiver becomes the result of the product of aMatrix^T and anArray.
void resize(int n)
Checks size of receiver towards requested bounds.
Class representing vector of real numbers.
bool hasDofID(DofIDItem id) const
Checks if receiver contains dof with given ID.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
void giveInternalForcesVectorGen(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord, void(*Nfunc)(GaussPoint *, FloatMatrix), void(*Bfunc)(GaussPoint *, FloatMatrix, int, int), void(*NStress)(GaussPoint *, FloatArray), void(*BStress)(GaussPoint *, FloatArray), double(*volumeAround)(GaussPoint *))
void computeLocationArrayOfDofIDs(const IntArray &dofIdArray, IntArray &answer)
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
Dof * giveDofWithID(int dofID) const
Returns DOF with given dofID; issues error if not present.
void followedBy(const IntArray &b, int allocChunk=0)
Appends array b at the end of receiver.
void zero()
Zeroes all coefficients of receiver.
void computeStiffnessMatrixGen(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep, void(*Nfunc)(GaussPoint *, FloatMatrix), void(*Bfunc)(GaussPoint *, FloatMatrix), void(*NStiffness)(FloatMatrix, MatResponseMode, GaussPoint *, TimeStep *), void(*BStiffness)(FloatMatrix, MatResponseMode, GaussPoint *, TimeStep *), double(*volumeAround)(GaussPoint *))
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
void beProductOf(const FloatMatrix &a, const FloatMatrix &b)
Assigns to the receiver product of .
the oofem namespace is to define a context or scope in which all oofem names are defined.
DofManager * giveDofManager(int i) const
Abstract class Dof represents Degree Of Freedom in finite element mesh.
void symmetrized()
Initializes the lower half of the receiver according to the upper half.
Class representing integration point in finite element program.
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.
void add(const FloatArray &src)
Adds array src to receiver.
void resize(int s)
Resizes receiver towards requested size.