35 #include "../sm/Elements/Interfaces/intelline1.h" 36 #include "../sm/CrossSections/structuralinterfacecrosssection.h" 50 #include <Emarkwd3d.h> 80 answer.
at(1, 1) = answer.
at(2, 2) = -N.
at(1);
81 answer.
at(1, 3) = answer.
at(2, 4) = -N.
at(2);
83 answer.
at(1, 5) = answer.
at(2, 6) = N.
at(1);
84 answer.
at(1, 7) = answer.
at(2, 8) = N.
at(2);
115 G.
at(1) += dNdxi.
at(i, 1) * X1_i;
116 G.
at(2) += dNdxi.
at(i, 1) * X2_i;
134 for (
int i = 1; i <= N.
giveSize(); i++ ) {
142 return ds * thickness;
180 printf(
"Renumbering element %d\n.\n", this->
giveNumber());
211 answer.
at(1, 1) = -G.
at(2);
212 answer.
at(2, 1) = G.
at(1);
213 answer.
at(1, 2) = G.
at(1);
214 answer.
at(2, 2) = G.
at(2);
243 go = CreateLine3D(p);
244 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
245 EGAttachObject(go, ( EObjectP )
this);
246 EMAddGraphicsToModel(ESIModel(), go);
270 go = CreateLine3D(p);
271 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
272 EMAddGraphicsToModel(ESIModel(), go);
280 go = CreateLine3D(p);
281 EGWithMaskChangeAttributes(WIDTH_MASK | COLOR_MASK | LAYER_MASK, go);
282 EMAddGraphicsToModel(ESIModel(), go);
288 int indx, result = 0;
314 p [ 0 ].x = ( FPNum ) gcoord.at(1);
315 p [ 0 ].y = ( FPNum ) gcoord.at(2);
318 val [ 0 ] = v1.
at(indx);
323 EASValsSetMType(FILLED_CIRCLE_MARKER);
324 go = CreateMarkerWD3D(p, val [ 0 ]);
325 EGWithMaskChangeAttributes(LAYER_MASK | FILL_MASK | MTYPE_MASK, go);
326 EMAddGraphicsToModel(ESIModel(), go);
CrossSection * giveCrossSection()
int testElementGraphicActivity(Element *)
Test if particular element passed fulfills various filtering criteria for its graphics output...
IntArray dofManArray
Array containing dofmanager numbers.
virtual void evaldNdxi(FloatMatrix &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)
Evaluates the matrix of derivatives of interpolation functions (shape functions) at given point...
virtual void evalN(FloatArray &answer, const FloatArray &lcoords, const FEICellGeometry &cellgeo)=0
Evaluates the array of interpolation functions (shape functions) at given point.
virtual IntegrationRule * giveDefaultIntegrationRulePtr()
Access method for default integration rule.
int giveDofManagerNumber(int i) const
Translates local to global indices for dof managers.
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Domain * domain
Link to domain object, useful for communicating with other FEM components.
bool axisymmode
Flag controlling axisymmetric mode (integration over unit circumferential angle)
double & at(int i)
Coefficient access function.
#define OOFEG_RAW_GEOMETRY_LAYER
virtual void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer)
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 FloatArray * giveCoordinates()
virtual void computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer)
Computes modified interpolation matrix (N) for the element which multiplied with the unknowns vector ...
static FEI2dLineLin interp
Base class for dof managers.
virtual double giveCoordinate(int i)
IntElLine1(int n, Domain *d)
virtual double computeAreaAround(GaussPoint *gp)
Class implementing an array of integers.
int & at(int i)
Coefficient access function.
#define OOFEG_DEFORMED_GEOMETRY_LAYER
Abstract base class representing integration rule.
virtual int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords)
Computes the global coordinates from given element's local coordinates.
virtual int giveNumberOfNodes() const
Returns number of nodes of receiver.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
EPixel getDeformedElementColor()
Class representing a general abstraction for finite element interpolation class.
InternalStateType giveIntVarType()
virtual FEInterpolation * giveInterpolation() const
double dotProduct(const FloatArray &x) const
Computes the dot product (or inner product) of receiver and argument.
#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 double giveUpdatedCoordinate(int ic, TimeStep *tStep, double scale=1.)
Returns updated ic-th coordinate of receiver.
virtual void computeCovarBaseVectorAt(GaussPoint *gp, FloatArray &G)
double at(int i, int j) const
Coefficient access function.
double distance_square(const FloatArray &iP1, const FloatArray &iP2, double &oXi, double &oXiUnbounded) const
#define _IFT_IntElLine1_axisymmode
int giveDofManPlaceInArray(int iGlobalDofManNum) const
Returns the array index of the dofman with global number iGlobalDofManNum, so that it can be fetched ...
int numberOfGaussPoints
Number of integration points as specified by nip.
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.
virtual double give(CrossSectionProperty a, GaussPoint *gp)
Returns the value of cross section property at given point.
void resize(int rows, int cols)
Checks size of receiver towards requested bounds.
void zero()
Zeroes all coefficients of receiver.
#define OOFEG_DEFORMED_GEOMETRY_WIDTH
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...
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
void zero()
Zeroes all coefficient of receiver.
void updateFringeTableMinMax(double *s, int size)
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Abstract base class for all structural interface elements.
int giveSize() const
Returns the size of receiver.
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual int giveIPValue(FloatArray &answer, GaussPoint *gp, InternalStateType type, TimeStep *tStep)
Returns the integration point corresponding value in full form.
DofManager * giveDofManager(int n)
Service for accessing particular domain dof manager.
double normalize()
Normalizes receiver.
Node * giveNode(int i) const
Returns reference to the i-th node of element.
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
int giveNumberOfRows() const
Returns number of rows of receiver.
#define OOFEG_VARPLOT_PATTERN_LAYER
Class representing integration point in finite element program.
Class representing solution step.
int numberOfDofMans
Number of dofmanagers.
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
const FloatArray & giveNaturalCoordinates()
Returns coordinate array of receiver.
Class representing Gaussian-quadrature integration rule.
void resize(int s)
Resizes receiver towards requested size.