83 EASValsSetEdgeFlag(
true);
85 EASValsSetFillStyle(FILL_HOLLOW);
100 EGWithMaskChangeAttributes(WIDTH_MASK | FILL_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
101 EGAttachObject(go, ( EObjectP )
this);
102 EMAddGraphicsToModel(ESIModel(), go);
119 EASValsSetEdgeFlag(
true);
121 EASValsSetFillStyle(FILL_HOLLOW);
135 go = CreateQuad3D(p);
136 EGWithMaskChangeAttributes(WIDTH_MASK | FILL_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
137 EMAddGraphicsToModel(ESIModel(), go);
147 double s [ 4 ], defScale;
236 for ( i = 0; i < 8; i++ ) {
250 pp [ 8 ].x = 0.25 * ( pp [ 0 ].x + pp [ 1 ].x + pp [ 2 ].x + pp [ 3 ].x );
251 pp [ 8 ].y = 0.25 * ( pp [ 0 ].y + pp [ 1 ].y + pp [ 2 ].y + pp [ 3 ].y );
255 const FloatArray& gpCoords = gp->giveNaturalCoordinates();
256 if ( ( gpCoords.
at(1) > 0. ) && ( gpCoords.
at(2) > 0. ) ) {
261 }
else if ( ( gpCoords.
at(1) < 0. ) && ( gpCoords.
at(2) > 0. ) ) {
266 }
else if ( ( gpCoords.
at(1) < 0. ) && ( gpCoords.
at(2) < 0. ) ) {
284 for ( i = 1; i <= 4; i++ ) {
285 s [ i - 1 ] = v [ 0 ].
at(indx);
288 for ( i = 0; i < 4; i++ ) {
289 p [ i ].x = pp [ ind.
at(i + 1) ].x;
290 p [ i ].y = pp [ ind.
at(i + 1) ].y;
291 p [ i ].z = pp [ ind.
at(i + 1) ].z;
295 tr = CreateQuadWD3D(p, s [ 0 ], s [ 1 ], s [ 2 ], s [ 3 ]);
296 EGWithMaskChangeAttributes(LAYER_MASK, tr);
297 EMAddGraphicsToModel(ESIModel(), tr);
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
virtual Interface * giveInterface(InterfaceType it)
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in full form.
virtual IntegrationRule * giveDefaultIntegrationRulePtr()
Access method for default integration rule.
The element interface required by ZZNodalRecoveryModel.
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
double & at(int i)
Coefficient access function.
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
#define OOFEG_RAW_GEOMETRY_LAYER
EPixel getElementEdgeColor()
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
static FEI2dQuadQuad interpolation
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 FEInterpolation * giveInterpolation() const
#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.
int numberOfGaussPoints
Number of integration points as specified by nip.
InternalStateMode giveIntVarMode()
Class representing vector of real numbers.
#define OOFEG_DEFORMED_GEOMETRY_WIDTH
QPlaneStrain(int N, Domain *d)
InterfaceType
Enumerative type, used to identify interface type.
void updateFringeTableMinMax(double *s, int size)
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
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.
#define OOFEG_VARPLOT_PATTERN_LAYER
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.