103 double determinant, weight, volume;
108 volume = determinant * weight;
139 return detJ * weight;
159 #define TR_LENGHT_REDUCT 0.3333 174 EASValsSetEdgeFlag(
true);
176 EASValsSetFillStyle(FILL_SOLID);
191 EGWithMaskChangeAttributes(WIDTH_MASK | FILL_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
192 EGAttachObject(go, ( EObjectP )
this);
193 EMAddGraphicsToModel(ESIModel(), go);
200 int i, indx, result = 0;
211 for ( i = 1; i <= 4; i++ ) {
224 for ( i = 1; i <= 4; i++ ) {
225 s [ i - 1 ] = v [ i - 1 ].
at(indx);
229 EASValsSetEdgeFlag(
true);
232 for ( i = 0; i < 4; i++ ) {
239 tr = CreateTetraWD(p, s);
240 EGWithMaskChangeAttributes(LAYER_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK, tr);
241 EMAddGraphicsToModel(ESIModel(), tr);
CrossSection * giveCrossSection()
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
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...
ScalarAlgorithmType getScalarAlgo()
The element interface required by ZZNodalRecoveryModel.
double & at(int i)
Coefficient access function.
#define OOFEG_RAW_GEOMETRY_LAYER
EPixel getElementEdgeColor()
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual double giveCoordinate(int i)
Tetrahedral (3d) element with linear approximation for heat and mass transfer.
virtual double computeSurfaceVolumeAround(GaussPoint *gp, int iEdge)
virtual double giveTransformationJacobian(const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the determinant of the transformation.
virtual Interface * giveInterface(InterfaceType t)
Interface requesting service.
Abstract base class representing integration rule.
Tetrah1_hmt(int n, Domain *d)
Class representing a general abstraction for finite element interpolation class.
static FEI3dTetLin interpolation
virtual double computeEdgeVolumeAround(GaussPoint *gp, int iEdge)
Computes the length around a integration point on a edge.
InternalStateType giveIntVarType()
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual IntegrationRule * GetSurfaceIntegrationRule(int approxOrder)
#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.
Wrapper around element definition to provide FEICellGeometry interface.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
virtual double surfaceGiveTransformationJacobian(int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the edge jacobian of transformation between local and global coordinates.
Tetrah1_ht(int n, Domain *d)
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()
virtual FEInterpolation * giveInterpolation() const
Class representing vector of real numbers.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
IRResultType
Type defining the return values of InputRecord reading operations.
virtual int getRequiredNumberOfIntegrationPoints(integrationDomain dType, int approxOrder)
Abstract service.
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...
virtual int SetUpPointsOnTriangle(int, MaterialMode mode)
Sets up receiver's integration points on triangular (area coords) integration domain.
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
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 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
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 double edgeGiveTransformationJacobian(int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the edge jacobian of transformation between local and global coordinates.
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.
const FloatArray & giveNaturalCoordinates()
Returns coordinate array of receiver.
Class representing Gaussian-quadrature integration rule.