106 double determinant, weight, volume;
111 volume = determinant * weight;
138 double determinant, weight, volume;
141 volume = determinant * weight;
217 EASValsSetEdgeFlag(
true);
219 EASValsSetFillStyle(FILL_SOLID);
220 for (
int i = 0; i < 8; i++ ) {
226 go = CreateHexahedron(p);
227 EGWithMaskChangeAttributes(WIDTH_MASK | FILL_MASK | COLOR_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK | LAYER_MASK, go);
228 EGAttachObject(go, ( EObjectP )
this);
229 EMAddGraphicsToModel(ESIModel(), go);
235 int indx, result = 0;
246 for (
int i = 1; i <= 8; i++ ) {
259 for (
int i = 1; i <= 8; i++ ) {
260 s [ i - 1 ] = v [ i - 1 ].
at(indx);
264 EASValsSetEdgeFlag(
true);
267 for (
int i = 0; i < 8; i++ ) {
274 tr = CreateHexahedronWD(p, s);
275 EGWithMaskChangeAttributes(LAYER_MASK | EDGE_COLOR_MASK | EDGE_FLAG_MASK, tr);
276 EMAddGraphicsToModel(ESIModel(), tr);
CrossSection * giveCrossSection()
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
The element interface required by ZZNodalRecoveryModel.
virtual Interface * giveInterface(InterfaceType t)
Interface requesting service.
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 IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
ScalarAlgorithmType getScalarAlgo()
virtual double computeEdgeVolumeAround(GaussPoint *gp, int iEdge)
Computes the length around a integration point on a edge.
virtual FEInterpolation * giveInterpolation() const
virtual double giveTransformationJacobian(const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the determinant of the transformation.
The element interface required by ZZNodalRecoveryModel.
double & at(int i)
Coefficient access function.
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
#define OOFEG_RAW_GEOMETRY_LAYER
EPixel getElementEdgeColor()
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
Brick (3d) elements with linear approximation for heat and mass transfer.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
virtual int SetUpPointsOnSquare(int, MaterialMode mode)
Sets up receiver's integration points on unit square integration domain.
virtual double giveCoordinate(int i)
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
Abstract base class representing integration rule.
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
Class representing a general abstraction for finite element interpolation class.
InternalStateType giveIntVarType()
Brick1_mt(int n, Domain *d)
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.
Wrapper around element definition to provide FEICellGeometry interface.
void resize(int n)
Checks size of receiver towards requested bounds.
virtual IntegrationRule * GetSurfaceIntegrationRule(int approxOrder)
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 edgeGiveTransformationJacobian(int iedge, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the edge jacobian of transformation between local and global coordinates.
virtual int getRequiredNumberOfIntegrationPoints(integrationDomain dType, int approxOrder)
Abstract service.
virtual double computeSurfaceVolumeAround(GaussPoint *gp, int iEdge)
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...
Brick1_hmt(int n, Domain *d)
InterfaceType
Enumerative type, used to identify interface type.
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
void updateFringeTableMinMax(double *s, int size)
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
static FEI3dHexaLin interpolation
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
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.
Class representing solution step.
virtual double surfaceGiveTransformationJacobian(int isurf, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the edge jacobian of transformation between local and global coordinates.
int numberOfDofMans
Number of dofmanagers.
Brick1_ht(int n, Domain *d)
const FloatArray & giveNaturalCoordinates()
Returns coordinate array of receiver.
Class representing Gaussian-quadrature integration rule.