186 #define TR_LENGHT_REDUCT 0.3333 200 EASValsSetEdgeFlag(
true);
213 go = CreateTriangle3D(p);
214 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
215 EGAttachObject(go, ( EObjectP )
this);
216 EMAddGraphicsToModel(ESIModel(), go);
233 EASValsSetEdgeFlag(
true);
245 go = CreateTriangle3D(p);
246 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
247 EMAddGraphicsToModel(ESIModel(), go);
253 int i, indx, result = 0;
257 double s [ 3 ], defScale;
281 s [ 0 ] = v1.
at(indx);
282 s [ 1 ] = v2.
at(indx);
283 s [ 2 ] = v3.
at(indx);
288 for ( i = 0; i < 3; i++ ) {
304 tr = CreateTriangleWD3D(p, s [ 0 ], s [ 1 ], s [ 2 ]);
305 EGWithMaskChangeAttributes(LAYER_MASK, tr);
306 EMAddGraphicsToModel(ESIModel(), tr);
310 for ( i = 0; i < 3; i++ ) {
316 p [ i ].z = s [ i ] * landScale;
320 p [ i ].z = s [ i ] * landScale;
327 EASValsSetFillStyle(FILL_SOLID);
328 tr = CreateTriangle3D(p);
329 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | FILL_MASK | LAYER_MASK, tr);
332 EASValsSetFillStyle(FILL_SOLID);
333 tr = CreateTriangleWD3D(p, s [ 0 ], s [ 1 ], s [ 2 ]);
334 EGWithMaskChangeAttributes(FILL_MASK | LAYER_MASK, tr);
337 EMAddGraphicsToModel(ESIModel(), tr);
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
InternalStateType
Type representing the physical meaning of element or constitutive model internal variable.
The element interface required by NodalAvergagingRecoveryModel.
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType type)
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.
virtual IntegrationRule * giveDefaultIntegrationRulePtr()
Access method for default integration rule.
ScalarAlgorithmType getScalarAlgo()
The element interface required by ZZNodalRecoveryModel.
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
void clear()
Clears receiver (zero size).
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.
int & at(int i)
Coefficient access function.
virtual double giveArea()
#define OOFEG_DEFORMED_GEOMETRY_LAYER
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
int getInternalVarsDefGeoFlag()
EPixel getDeformedElementColor()
Class representing a general abstraction for finite element interpolation class.
InternalStateType giveIntVarType()
virtual double giveArea(const FEICellGeometry &cellgeo) const
Computes the exact area.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Axisymm3d(int n, Domain *d)
#define OOFEG_RAW_GEOMETRY_WIDTH
UnknownType
Type representing particular unknown (its physical meaning).
Wrapper around element definition to provide FEICellGeometry interface.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
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.
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
int numberOfGaussPoints
Number of integration points as specified by nip.
InternalStateMode giveIntVarMode()
Class representing vector of real numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep)
Computes the element value in given node.
virtual Interface * giveInterface(InterfaceType it)
Interface requesting service.
int giveNumberOfIntegrationPoints() const
Returns number of integration points of receiver.
static FEI2dTrLinAxi interpolation
#define OOFEG_DEFORMED_GEOMETRY_WIDTH
The spatial localizer element interface associated to spatial localizer.
std::vector< std::unique_ptr< IntegrationRule > > integrationRulesArray
List of integration rules of receiver (each integration rule contains associated integration points a...
InterfaceType
Enumerative type, used to identify interface type.
void updateFringeTableMinMax(double *s, int size)
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
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
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Class representing integration point in finite element program.
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.
virtual FEInterpolation * giveInterpolation() const