35 #include "../sm/Elements/PlaneStrain/qtrplanestrain.h" 82 #define TR_LENGHT_REDUCT 0.3333 96 EASValsSetEdgeFlag(
true);
108 go = CreateTriangle3D(p);
109 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
110 EGAttachObject(go, ( EObjectP )
this);
111 EMAddGraphicsToModel(ESIModel(), go);
128 EASValsSetEdgeFlag(
true);
140 go = CreateTriangle3D(p);
141 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
142 EMAddGraphicsToModel(ESIModel(), go);
148 int t, n [ 3 ], i, indx, result = 0;
152 double s [ 6 ], ss [ 3 ], defScale;
159 for ( i = 1; i <= 6; i++ ) {
172 for ( i = 1; i <= 6; i++ ) {
173 s [ i - 1 ] = v [ i - 1 ].
at(indx);
179 for ( t = 1; t <= 4; t++ ) {
184 }
else if ( t == 2 ) {
188 }
else if ( t == 3 ) {
199 for ( i = 0; i < 3; i++ ) {
214 ss [ 0 ] = s [ n [ 0 ] - 1 ];
215 ss [ 1 ] = s [ n [ 1 ] - 1 ];
216 ss [ 2 ] = s [ n [ 2 ] - 1 ];
218 tr = CreateTriangleWD3D(p, ss [ 0 ], ss [ 1 ], ss [ 2 ]);
219 EGWithMaskChangeAttributes(LAYER_MASK, tr);
220 EMAddGraphicsToModel(ESIModel(), tr);
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
The element interface required by ZZNodalRecoveryModel.
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
ScalarAlgorithmType getScalarAlgo()
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
The element interface required by ZZNodalRecoveryModel.
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
double & at(int i)
Coefficient access function.
virtual int giveInternalStateAtNode(FloatArray &answer, InternalStateType type, InternalStateMode mode, int node, TimeStep *tStep)
Returns internal state variable (like stress,strain) at node of element in Reduced form...
#define OOFEG_RAW_GEOMETRY_LAYER
EPixel getElementEdgeColor()
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual FEInterpolation * giveInterpolation() const
virtual double giveCoordinate(int i)
QTrPlaneStrain(int n, Domain *d)
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
#define OOFEG_DEFORMED_GEOMETRY_LAYER
int getInternalVarsDefGeoFlag()
EPixel getDeformedElementColor()
Class representing a general abstraction for finite element interpolation class.
InternalStateType giveIntVarType()
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
#define OOFEG_RAW_GEOMETRY_WIDTH
UnknownType
Type representing particular unknown (its physical meaning).
virtual double giveUpdatedCoordinate(int ic, TimeStep *tStep, double scale=1.)
Returns updated ic-th coordinate of receiver.
void resize(int n)
Checks size of receiver towards requested bounds.
int numberOfGaussPoints
Number of integration points as specified by nip.
InternalStateMode giveIntVarMode()
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
Class representing vector of real numbers.
virtual void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep)
#define OOFEG_DEFORMED_GEOMETRY_WIDTH
The spatial localizer element interface associated to spatial localizer.
InterfaceType
Enumerative type, used to identify interface type.
void updateFringeTableMinMax(double *s, int size)
static FEI2dTrQuad interpolation
the oofem namespace is to define a context or scope in which all oofem names are defined.
Node * giveNode(int i) const
Returns reference to the i-th node of element.
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
#define OOFEG_VARPLOT_PATTERN_LAYER
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)