35 #include "../sm/Elements/PlaneStress/qtrplstr.h" 99 #define TR_LENGHT_REDUCT 0.3333 113 EASValsSetEdgeFlag(
true);
125 go = CreateTriangle3D(p);
126 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
127 EGAttachObject(go, ( EObjectP )
this);
128 EMAddGraphicsToModel(ESIModel(), go);
145 EASValsSetEdgeFlag(
true);
157 go = CreateTriangle3D(p);
158 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
159 EMAddGraphicsToModel(ESIModel(), go);
165 int t, n [ 3 ], i, indx, result = 0;
169 double s [ 6 ], ss [ 3 ], defScale;
177 for ( i = 1; i <= 6; i++ ) {
187 for ( i = 1; i <= 6; i++ ) {
188 s [ i - 1 ] = v [ i - 1 ].
at(indx);
194 for ( t = 1; t <= 4; t++ ) {
199 }
else if ( t == 2 ) {
203 }
else if ( t == 3 ) {
214 for ( i = 0; i < 3; i++ ) {
230 ss [ 0 ] = s [ n [ 0 ] - 1 ];
231 ss [ 1 ] = s [ n [ 1 ] - 1 ];
232 ss [ 2 ] = s [ n [ 2 ] - 1 ];
234 tr = CreateTriangleWD3D(p, ss [ 0 ], ss [ 1 ], ss [ 2 ]);
235 EGWithMaskChangeAttributes(LAYER_MASK, tr);
236 EMAddGraphicsToModel(ESIModel(), tr);
283 for ( i = 0; i < 6; i++ ) {
300 switch ( gp->giveNumber() ) {
329 for ( i = 1; i <= 3; i++ ) {
330 s [ i - 1 ] = v [ 0 ].
at(indx);
333 for ( i = 0; i < 3; i++ ) {
334 p [ i ].x = pp [ ind.
at(i + 1) ].x;
335 p [ i ].y = pp [ ind.
at(i + 1) ].y;
336 p [ i ].z = pp [ ind.
at(i + 1) ].z;
340 EASValsSetFillStyle(FILL_SOLID);
341 tr = CreateTriangleWD3D(p, s [ 0 ], s [ 1 ], s [ 2 ]);
342 EGWithMaskChangeAttributes(FILL_MASK | LAYER_MASK, tr);
343 EMAddGraphicsToModel(ESIModel(), tr);
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
The element interface required by ZZNodalRecoveryModel.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in full form.
ScalarAlgorithmType getScalarAlgo()
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
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 void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
virtual double giveCoordinate(int i)
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 SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
#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 drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Class representing vector of real numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
QTrPlaneStress2d(int n, Domain *d)
#define OOFEG_DEFORMED_GEOMETRY_WIDTH
The spatial localizer element interface associated to spatial localizer.
static FEI2dTrQuad interpolation
std::vector< std::unique_ptr< IntegrationRule > > integrationRulesArray
List of integration rules of receiver (each integration rule contains associated integration points a...
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
virtual void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep)
InterfaceType
Enumerative type, used to identify interface type.
void updateFringeTableMinMax(double *s, int size)
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
Node * giveNode(int i) const
Returns reference to the i-th node of element.
#define OOFEG_VARPLOT_PATTERN_LAYER
Class representing integration point in finite element program.
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)