35 #include "../sm/Elements/Interfaces/intelsurftr1.h" 49 #include <Emarkwd3d.h> 75 answer.
at(1, 10) = answer.
at(2, 11) = answer.
at(3, 12) = N.
at(1);
76 answer.
at(1, 1) = answer.
at(2, 2) = answer.
at(3, 3) = -N.
at(1);
78 answer.
at(1, 13) = answer.
at(2, 14) = answer.
at(3, 15) = N.
at(2);
79 answer.
at(1, 4) = answer.
at(2, 5) = answer.
at(3, 6) = -N.
at(2);
81 answer.
at(1, 16) = answer.
at(2, 17) = answer.
at(3, 18) = N.
at(3);
82 answer.
at(1, 7) = answer.
at(2, 8) = answer.
at(3, 9) = -N.
at(3);
113 G1 += dNdxi.
at(i, 1) * meanNode;
114 G2 += dNdxi.
at(i, 2) * meanNode;
140 answer = { D_u, D_v, D_w };
150 for (
int i = 0; i < 6; i++ ) {
151 for (
int j = 1; j <= 3; j++ ) {
152 answer.
at(i * 3 + 1, i * 3 + j) = lcs.
at(3, j);
153 answer.
at(i * 3 + 2, i * 3 + j) = lcs.
at(1, j);
154 answer.
at(i * 3 + 3, i * 3 + j) = lcs.
at(2, j);
183 for (
int i = 1; i <= 3; i++ ) {
185 answer += N.
at(i) * meanNode;
213 EASValsSetEdgeFlag(
true);
225 go = CreateTriangle3D(p);
226 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
227 EGAttachObject(go, ( EObjectP )
this);
228 EMAddGraphicsToModel(ESIModel(), go);
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
virtual void evaldNdxi(FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the matrix of derivatives of interpolation functions (shape functions) at given point...
static FEI3dTrLin interpolation
void beVectorProductOf(const FloatArray &v1, const FloatArray &v2)
Computes vector product (or cross product) of vectors given as parameters, , and stores the result in...
virtual IntegrationRule * giveDefaultIntegrationRulePtr()
Access method for default integration rule.
virtual void computeCovarBaseVectorsAt(IntegrationPoint *ip, FloatArray &G1, FloatArray &G2)
double & at(int i)
Coefficient access function.
#define OOFEG_RAW_GEOMETRY_LAYER
EPixel getElementEdgeColor()
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual double giveCoordinate(int i)
Class implementing an array of integers.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
virtual void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer)
virtual int giveNumberOfNodes() const
Returns number of nodes of receiver.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
virtual void evalN(FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the array of interpolation functions (shape functions) at given point.
#define OOFEG_RAW_GEOMETRY_WIDTH
virtual double giveWeight()
Returns integration weight of receiver.
virtual double computeAreaAround(IntegrationPoint *ip)
UnknownType
Type representing particular unknown (its physical meaning).
Wrapper around element definition to provide FEICellGeometry interface.
void beLocalCoordSys(const FloatArray &normal)
Makes receiver the local coordinate for the given normal.
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
double at(int i, int j) const
Coefficient access function.
IntElSurfTr1(int n, Domain *d)
Class representing vector of real numbers.
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
double computeNorm() const
Computes the norm (or length) of the vector.
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
void zero()
Zeroes all coefficients of receiver.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
std::vector< std::unique_ptr< IntegrationRule > > integrationRulesArray
List of integration rules of receiver (each integration rule contains associated integration points a...
virtual FloatArray * giveCoordinates()
void zero()
Zeroes all coefficient of receiver.
Abstract base class for all structural interface elements.
virtual bool computeGtoLRotationMatrix(FloatMatrix &answer)
Returns transformation matrix from global c.s.
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 int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords)
Computes the global coordinates from given element's local coordinates.
int giveNumberOfRows() const
Returns number of rows of receiver.
virtual bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords)
Computes the element local coordinates from given global coordinates.
Class representing integration point in finite element program.
Class representing solution step.
virtual void computeNmatrixAt(GaussPoint *ip, FloatMatrix &answer)
Computes modified interpolation matrix (N) for the element which multiplied with the unknowns vector ...
int numberOfDofMans
Number of dofmanagers.
const FloatArray & giveNaturalCoordinates()
Returns coordinate array of receiver.
Class representing Gaussian-quadrature integration rule.
void resize(int s)
Resizes receiver towards requested size.