44 #include "../sm/CrossSections/structuralinterfacecrosssection.h" 49 #include <Emarkwd3d.h> 79 answer.
at(1, 2) = answer.
at(2, 1) = -n.
at(1);
80 answer.
at(1, 4) = answer.
at(2, 3) = -n.
at(2);
82 answer.
at(1, 6) = answer.
at(2, 5) = n.
at(1);
83 answer.
at(1, 8) = answer.
at(2, 7) = n.
at(2);
157 for (
int i = 0; i < 4; i++ ) {
158 answer.
at(i * 2 + 1, i * 2 + 1) = grad.
at(1);
159 answer.
at(i * 2 + 1, i * 2 + 2) = grad.
at(2);
160 answer.
at(i * 2 + 2, i * 2 + 1) = -grad.
at(2);
161 answer.
at(i * 2 + 2, i * 2 + 2) = grad.
at(1);
193 go = CreateLine3D(p);
194 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
195 EGAttachObject(go, ( EObjectP )
this);
196 EMAddGraphicsToModel(ESIModel(), go);
220 go = CreateLine3D(p);
221 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
222 EMAddGraphicsToModel(ESIModel(), go);
230 go = CreateLine3D(p);
231 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
232 EMAddGraphicsToModel(ESIModel(), go);
238 int indx, result = 0;
263 p [ 0 ].x = ( FPNum ) gcoord.at(1);
264 p [ 0 ].y = ( FPNum ) gcoord.at(2);
267 val [ 0 ] = v1.
at(indx);
272 EASValsSetMType(FILLED_CIRCLE_MARKER);
273 go = CreateMarkerWD3D(p, val [ 0 ]);
274 EGWithMaskChangeAttributes(LAYER_MASK | FILL_MASK | MTYPE_MASK, go);
275 EMAddGraphicsToModel(ESIModel(), go);
CrossSection * giveCrossSection()
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
virtual double giveTransformationJacobian(const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the determinant of the transformation.
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.
double & at(int i)
Coefficient access function.
#define OOFEG_RAW_GEOMETRY_LAYER
virtual void evalN(FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the array of interpolation functions (shape functions) at given point.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS)
Computes the geometrical matrix of receiver in given integration point.
virtual double giveCoordinate(int i)
Class implementing an array of integers.
MatResponseMode
Describes the character of characteristic material matrix.
#define OOFEG_DEFORMED_GEOMETRY_LAYER
virtual void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep)
Computes the stress vector of receiver at given integration point, at time step tStep.
EPixel getDeformedElementColor()
InterfaceElem2dLin(int n, Domain *d)
Class representing a general abstraction for finite element interpolation class.
InternalStateType giveIntVarType()
Abstract base class for all "structural" finite elements.
virtual FEInterpolation * giveInterpolation() const
static FEI2dLineLin interp
#define OOFEG_RAW_GEOMETRY_WIDTH
virtual double giveWeight()
Returns integration weight of receiver.
UnknownType
Type representing particular unknown (its physical meaning).
Wrapper around element definition to provide FEICellGeometry interface.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
virtual double giveUpdatedCoordinate(int ic, TimeStep *tStep, double scale=1.)
Returns updated ic-th coordinate of receiver.
Base class for all structural interface cross section models.
double at(int i, int j) const
Coefficient access function.
bool axisymmode
Flag controlling axisymmetric mode (integration over unit circumferential angle)
InternalStateMode giveIntVarMode()
Class representing vector of real numbers.
Implementation of matrix containing floating point numbers.
IRResultType
Type defining the return values of InputRecord reading operations.
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
virtual bool computeGtoLRotationMatrix(FloatMatrix &answer)
Returns transformation matrix from global c.s.
#define OOFEG_DEFORMED_GEOMETRY_WIDTH
virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
Computes constitutive matrix of receiver.
std::vector< std::unique_ptr< IntegrationRule > > integrationRulesArray
List of integration rules of receiver (each integration rule contains associated integration points a...
void zero()
Zeroes all coefficient of receiver.
void updateFringeTableMinMax(double *s, int size)
#define _IFT_InterfaceElem2dLin_axisymmode
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
the oofem namespace is to define a context or scope in which all oofem names are defined.
double normalize()
Normalizes receiver.
Node * giveNode(int i) const
Returns reference to the i-th node of element.
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
#define OOFEG_VARPLOT_PATTERN_LAYER
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.
virtual int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords)
Computes the global coordinates from given element's local coordinates.
int numberOfDofMans
Number of dofmanagers.
const FloatArray & giveNaturalCoordinates()
Returns coordinate array of receiver.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Class representing Gaussian-quadrature integration rule.