35 #include "../sm/Elements/PlaneStress/planestresselementevaluator.h" 36 #include "../sm/CrossSections/structuralcrosssection.h" 71 answer.
at(1, i * 2 - 1) = d.
at(i, 1);
72 answer.
at(2, i * 2 - 0) = d.
at(i, 2);
74 answer.
at(3, 2 * i - 1) = d.
at(i, 2);
75 answer.
at(3, 2 * i - 0) = d.
at(i, 1);
82 double determinant, weight, thickness, volume;
83 determinant = fabs( this->
giveElement()->giveInterpolation()
89 volume = determinant * weight * thickness;
CrossSection * giveCrossSection()
virtual void evalN(FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
Evaluates the array of interpolation functions (shape functions) at given point.
Element * giveElement()
Returns corresponding element to receiver.
virtual const IntArray * giveKnotSpan()
Returns receiver sub patch indices (if apply).
virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
Computes constitutive matrix of receiver.
MatResponseMode
Describes the character of characteristic material matrix.
virtual Element * giveElement()=0
virtual FEInterpolation * giveInterpolation() const
Class representing a general abstraction for finite element interpolation class.
virtual void computeNMatrixAt(FloatMatrix &answer, GaussPoint *gp)
Assemble interpolation matrix at given IP.
virtual double giveWeight()
Returns integration weight of receiver.
double at(int i, int j) const
Coefficient access function.
IntegrationRule * giveIntegrationRule()
Returns corresponding integration rule to receiver.
virtual double computeVolumeAround(GaussPoint *gp)
void beNMatrixOf(const FloatArray &n, int nsd)
Assigns the receiver to be a repeated diagonal matrix.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
virtual double give(CrossSectionProperty a, GaussPoint *gp)
Returns the value of cross section property at given point.
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
virtual void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep)
Computes the stress vector.
void zero()
Zeroes all coefficient of receiver.
Geometry wrapper for IGA elements.
Abstract base class for all structural cross section models.
the oofem namespace is to define a context or scope in which all oofem names are defined.
int giveNumberOfRows() const
Returns number of rows of receiver.
Class representing integration point in finite element program.
Class representing solution step.
virtual double evaldNdx(FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
Evaluates the matrix of derivatives of interpolation functions (shape functions) at given point...
virtual void computeBMatrixAt(FloatMatrix &answer, GaussPoint *gp)
Assembles the strain-displacement matrix of the receiver at given integration point.
const FloatArray & giveNaturalCoordinates()
Returns coordinate array of receiver.