111 for (
int i = 1; i <= 4; i++ ) {
117 for (
int i = 1; i <= 4; i++ ) {
118 int j = ( i ) % 4 + 1;
130 if ( nn.computeSquaredNorm() < 1.e-6 ) {
135 for (
int i = 1; i <= 3; i++ ) {
136 answer.
at(i, 3) = nn.at(i);
141 double test = fabs(fabs( nn.at(3) ) - 1.0);
142 if ( test < 1.e-5 ) {
143 h1.at(1) = answer.
at(1, 1) = 1.0;
144 h1.at(2) = answer.
at(2, 1) = 0.0;
146 h1.at(1) = answer.
at(1, 1) = answer.
at(2, 3);
147 h1.at(2) = answer.
at(2, 1) = -answer.
at(1, 3);
150 h1.at(3) = answer.
at(3, 1) = 0.0;
152 h2.beVectorProductOf(nn, h1);
153 for (
int i = 1; i <= 3; i++ ) {
154 answer.
at(i, 2) = h2.at(i);
179 for (
int i = 1; i <= 20; i++ ) {
190 for (
int i = 1; i <= 20; i++ ) {
221 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...
Domain * domain
Link to domain object, useful for communicating with other FEM components.
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 SPRPatchType SPRNodalRecoveryMI_givePatchType()
virtual void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep)
Computes the element value in given node.
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.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Abstract base class representing integration rule.
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
Class representing a general abstraction for finite element interpolation class.
#define OOFEM_LOG_INFO(...)
virtual IntegrationRule * GetSurfaceIntegrationRule(int)
double computeSquaredNorm() const
Computes the square of the norm.
virtual int computeLoadLSToLRotationMatrix(FloatMatrix &answer, int, GaussPoint *gp)
Returns transformation matrix from local surface c.s to element local coordinate system of load vecto...
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.
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
virtual int getRequiredNumberOfIntegrationPoints(integrationDomain dType, int approxOrder)
Abstract service.
virtual Interface * giveInterface(InterfaceType)
Interface requesting service.
static FEI3dHexaQuad interpolation
void times(double s)
Multiplies receiver with scalar.
std::vector< std::unique_ptr< IntegrationRule > > integrationRulesArray
List of integration rules of receiver (each integration rule contains associated integration points a...
void zero()
Zeroes all coefficient of receiver.
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
InterfaceType
Enumerative type, used to identify interface type.
virtual FEInterpolation * giveInterpolation() const
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.
Class representing Gaussian-quadrature integration rule.