103 double determinant, weight, thickness, volume;
108 volume = determinant * weight * thickness;
163 EASValsSetEdgeFlag(
true);
165 EASValsSetFillStyle(FILL_HOLLOW);
179 go = CreateQuad3D(p);
180 EGWithMaskChangeAttributes(WIDTH_MASK | FILL_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
181 EGAttachObject(go, ( EObjectP )
this);
182 EMAddGraphicsToModel(ESIModel(), go);
198 if ( itype == IST_HydrationDegree ) {
200 for ( i = 1; i <= 4; i++ ) {
210 for ( i = 1; i <= 4; i++ ) {
211 s [ i - 1 ] = v [ i - 1 ].
at(indx);
215 for ( i = 0; i < 4; i++ ) {
222 GraphicObj *tr = CreateQuadWD3D(p, s [ 0 ], s [ 1 ], s [ 2 ], s [ 3 ]);
223 EGWithMaskChangeAttributes(LAYER_MASK, tr);
224 EMAddGraphicsToModel(ESIModel(), tr);
229 if ( itype == IST_Temperature ) {
236 for ( i = 0; i < 4; i++ ) {
246 GraphicObj *tr = CreateQuadWD3D(p, s [ 0 ], s [ 1 ], s [ 2 ], s [ 3 ]);
247 EGWithMaskChangeAttributes(LAYER_MASK, tr);
248 EMAddGraphicsToModel(ESIModel(), tr);
CrossSection * giveCrossSection()
Quad1_hmt(int n, Domain *d)
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.
MaterialMode giveMaterialMode()
Returns corresponding material mode of receiver.
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...
virtual Interface * giveInterface(InterfaceType t)
Interface requesting service.
ScalarAlgorithmType getScalarAlgo()
virtual double giveTransformationJacobian(const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the determinant of the transformation.
The element interface required by ZZNodalRecoveryModel.
Quad1_mt(int n, Domain *d)
virtual double computeEdgeVolumeAround(GaussPoint *gp, int iEdge)
Computes the length around a integration point on a edge.
double & at(int i)
Coefficient access function.
#define OOFEG_RAW_GEOMETRY_LAYER
EPixel getElementEdgeColor()
virtual double giveThicknessAt(const FloatArray &gcoords)
Gives the thickness at some global coordinate.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual double edgeGiveTransformationJacobian(int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the edge Jacobian of transformation between local and global coordinates.
static FEI2dQuadLin interpolation
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
virtual double giveCoordinate(int i)
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
virtual FEInterpolation * giveInterpolation() const
Quad1_ht(int n, Domain *d)
Class representing a general abstraction for finite element interpolation class.
InternalStateType giveIntVarType()
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
void giveUnknownVector(FloatArray &answer, const IntArray &dofMask, ValueModeType mode, TimeStep *tStep, bool padding=false)
Assembles the vector of unknowns in global c.s for given dofs of receiver.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
#define OOFEG_RAW_GEOMETRY_WIDTH
virtual double giveWeight()
Returns integration weight of receiver.
This abstract class represent a general base element class for transport problems.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Wrapper around element definition to provide FEICellGeometry interface.
Quadratic (2d) element with linear approximation for heat transfer.
virtual int setupIntegrationPoints(IntegrationRule &irule, int npoints, Element *element)
Sets up integration rule for the given element.
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 double give(CrossSectionProperty a, GaussPoint *gp)
Returns the value of cross section property at given point.
virtual void edgeLocal2global(FloatArray &answer, int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates edge global coordinates from given local ones.
The spatial localizer element interface associated to spatial localizer.
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...
InterfaceType
Enumerative type, used to identify interface type.
void updateFringeTableMinMax(double *s, int size)
virtual void drawRawGeometry(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 integration point in finite element program.
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.
const FloatArray & giveNaturalCoordinates()
Returns coordinate array of receiver.
Class representing Gaussian-quadrature integration rule.