35 #include "../sm/Elements/Interfaces/intelline2.h" 36 #include "../sm/CrossSections/structuralinterfacecrosssection.h" 48 #include <Emarkwd3d.h> 79 answer.
at(1, 1) = answer.
at(2, 2) = -N.
at(1);
80 answer.
at(1, 3) = answer.
at(2, 4) = -N.
at(2);
83 answer.
at(1, 7) = answer.
at(2, 8) = N.
at(1);
84 answer.
at(1, 9) = answer.
at(2, 10) = N.
at(2);
90 answer.
at(1, 1) = answer.
at(2, 2) = -N.
at(1);
91 answer.
at(1, 3) = answer.
at(2, 4) = -N.
at(2);
92 answer.
at(1, 5) = answer.
at(2, 6) = -N.
at(3);
94 answer.
at(1, 7) = answer.
at(2, 8) = N.
at(1);
95 answer.
at(1, 9) = answer.
at(2, 10) = N.
at(2);
96 answer.
at(1, 11) = answer.
at(2, 12) = N.
at(3);
148 go = CreateLine3D(p);
149 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
150 EGAttachObject(go, ( EObjectP )
this);
151 EMAddGraphicsToModel(ESIModel(), go);
158 go = CreateLine3D(p);
159 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
160 EGAttachObject(go, ( EObjectP )
this);
161 EMAddGraphicsToModel(ESIModel(), go);
185 go = CreateLine3D(p);
186 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
187 EMAddGraphicsToModel(ESIModel(), go);
195 go = CreateLine3D(p);
196 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
197 EMAddGraphicsToModel(ESIModel(), go);
203 int indx, result = 0;
229 p [ 0 ].x = ( FPNum ) gcoord.at(1);
230 p [ 0 ].y = ( FPNum ) gcoord.at(2);
233 val [ 0 ] = v1.
at(indx);
238 EASValsSetMType(FILLED_CIRCLE_MARKER);
239 go = CreateMarkerWD3D(p, val [ 0 ]);
240 EGWithMaskChangeAttributes(LAYER_MASK | FILL_MASK | MTYPE_MASK, go);
241 EMAddGraphicsToModel(ESIModel(), go);
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
#define _IFT_IntElLine2_LinearTraction
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
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 double giveCoordinate(int i)
#define OOFEG_DEFORMED_GEOMETRY_LAYER
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
Abstract base class representing integration rule.
static FEI2dLineLin interpLin
virtual int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords)
Computes the global coordinates from given element's local coordinates.
EPixel getDeformedElementColor()
Class representing a general abstraction for finite element interpolation class.
IntElLine2(int n, Domain *d)
InternalStateType giveIntVarType()
#define OOFEG_RAW_GEOMETRY_WIDTH
virtual void evalN(FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the array of interpolation functions (shape functions) at given point.
UnknownType
Type representing particular unknown (its physical meaning).
Wrapper around element definition to provide FEICellGeometry interface.
virtual double giveUpdatedCoordinate(int ic, TimeStep *tStep, double scale=1.)
Returns updated ic-th coordinate of receiver.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
double at(int i, int j) const
Coefficient access function.
int numberOfGaussPoints
Number of integration points as specified by nip.
InternalStateMode giveIntVarMode()
Class representing vector of real numbers.
virtual FEInterpolation * giveInterpolation() const
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.
bool linear
If linear interpolation should be used.
#define OOFEG_DEFORMED_GEOMETRY_WIDTH
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.
This class implements a two dimensional interface element.
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
void updateFringeTableMinMax(double *s, int size)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
static FEI2dLineQuad interp
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in full form.
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.
virtual void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer)
Computes modified interpolation matrix (N) for the element which multiplied with the unknowns vector ...