79 for (
int i = 1; i <= 8; i++ ) {
80 answer.
at(1, 3 * i - 2) = answer.
at(2, 3 * i - 2) = answer.
at(3, 3 * i - 2) = ( dnx0.
at(i, 1) - dnx.
at(i, 1) ) / 3.0;
81 answer.
at(1, 3 * i - 1) = answer.
at(2, 3 * i - 1) = answer.
at(3, 3 * i - 1) = ( dnx0.
at(i, 2) - dnx.
at(i, 2) ) / 3.0;
82 answer.
at(1, 3 * i - 0) = answer.
at(2, 3 * i - 0) = answer.
at(3, 3 * i - 0) = ( dnx0.
at(i, 3) - dnx.
at(i, 3) ) / 3.0;
86 for (
int i = 1; i <= 8; i++ ) {
87 answer.
at(1, 3 * i - 2) += dnx.
at(i, 1);
88 answer.
at(2, 3 * i - 1) += dnx.
at(i, 2);
89 answer.
at(3, 3 * i - 0) += dnx.
at(i, 3);
92 for (
int i = 1; i <= 8; i++ ) {
93 answer.
at(4, 3 * i - 1) += dnx.
at(i, 3);
94 answer.
at(4, 3 * i - 0) += dnx.
at(i, 2);
96 answer.
at(5, 3 * i - 2) += dnx.
at(i, 3);
97 answer.
at(5, 3 * i - 0) += dnx.
at(i, 1);
99 answer.
at(6, 3 * i - 2) += dnx.
at(i, 2);
100 answer.
at(6, 3 * i - 1) += dnx.
at(i, 1);
virtual double evaldNdx(FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the matrix of derivatives of interpolation functions (shape functions) at given point...
virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS)
Computes the geometrical matrix of receiver in given integration point.
LSpaceBB(int n, Domain *d)
Wrapper around element definition to provide FEICellGeometry interface.
double at(int i, int j) const
Coefficient access function.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
double dnx(int i, int arg2)
This class implements a Linear 3d 8-node finite element for stress analysis.
void zero()
Zeroes all coefficients of receiver.
static FEI3dHexaLin interpolation
void zero()
Zeroes all coefficient of receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
Class representing integration point in finite element program.
const FloatArray & giveNaturalCoordinates()
Returns coordinate array of receiver.