114 for (
int i = 1; i <= 4; i++ ) {
120 for (
int i = 1; i <= 4; i++ ) {
121 int j = ( i ) % 4 + 1;
133 if ( nn.computeSquaredNorm() < 1.e-6 ) {
138 for (
int i = 1; i <= 3; i++ ) {
139 answer.
at(i, 3) = nn.at(i);
144 double test = fabs(fabs( nn.at(3) ) - 1.0);
145 if ( test < 1.e-5 ) {
146 h1.at(1) = answer.
at(1, 1) = 1.0;
147 h1.at(2) = answer.
at(2, 1) = 0.0;
149 h1.at(1) = answer.
at(1, 1) = answer.
at(2, 3);
150 h1.at(2) = answer.
at(2, 1) = -answer.
at(1, 3);
153 h1.at(3) = answer.
at(3, 1) = 0.0;
155 h2.beVectorProductOf(nn, h1);
156 for (
int i = 1; i <= 3; i++ ) {
157 answer.
at(i, 2) = h2.at(i);
182 for (
int i = 1; i <= 27; i++ ) {
193 for (
int i = 1; i <= 27; i++ ) {
224 OOFEM_WARNING(
"IP values will not be transferred to nodes. Use ZZNodalRecovery instead (parameter stype 1)");
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
The element interface required by NodalAvergagingRecoveryModel.
IntArray dofManArray
Array containing dofmanager numbers.
The element interface required by ZZNodalRecoveryModel.
void beVectorProductOf(const FloatArray &v1, const FloatArray &v2)
Computes vector product (or cross product) of vectors given as parameters, , and stores the result in...
Q27Space(int n, Domain *d)
Domain * domain
Link to domain object, useful for communicating with other FEM components.
virtual FEInterpolation * giveInterpolation() const
The element interface required by ZZNodalRecoveryModel.
void computeSurfaceMapping(IntArray &surfNodes, IntArray &elemNodes, int isurf)
void clear()
Clears receiver (zero size).
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
virtual IntegrationRule * GetSurfaceIntegrationRule(int)
virtual int SetUpPointsOnSquare(int, MaterialMode mode)
Sets up receiver's integration points on unit square integration domain.
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
Abstract base class representing integration rule.
virtual void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep)
Computes the element value in given node.
virtual Interface * giveInterface(InterfaceType)
Interface requesting service.
Class representing a general abstraction for finite element interpolation class.
#define OOFEM_LOG_INFO(...)
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
double computeSquaredNorm() const
Computes the square of the norm.
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
double at(int i, int j) const
Coefficient access function.
void resize(int n)
Checks size of receiver towards requested bounds.
int numberOfGaussPoints
Number of integration points as specified by nip.
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
virtual int getRequiredNumberOfIntegrationPoints(integrationDomain dType, int approxOrder)
Abstract service.
static FEI3dHexaTriQuad interpolation
void times(double s)
Multiplies receiver with scalar.
virtual int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int, GaussPoint *gp)
Returns transformation matrix from local surface c.s to element local coordinate system of load vecto...
void zero()
Zeroes all coefficient of receiver.
InterfaceType
Enumerative type, used to identify interface type.
Node * giveNode(int n)
Service for accessing particular domain node.
the oofem namespace is to define a context or scope in which all oofem names are defined.
double normalize()
Normalizes receiver.
Node * giveNode(int i) const
Returns reference to the i-th node of element.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Class representing integration point in finite element program.
#define OOFEM_WARNING(...)
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.
void add(const FloatArray &src)
Adds array src to receiver.
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
Class representing Gaussian-quadrature integration rule.