OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
interfaceelem3dtrlin.h
Go to the documentation of this file.
1 /*
2  *
3  * ##### ##### ###### ###### ### ###
4  * ## ## ## ## ## ## ## ### ##
5  * ## ## ## ## #### #### ## # ##
6  * ## ## ## ## ## ## ## ##
7  * ## ## ## ## ## ## ## ##
8  * ##### ##### ## ###### ## ##
9  *
10  *
11  * OOFEM : Object Oriented Finite Element Code
12  *
13  * Copyright (C) 1993 - 2013 Borek Patzak
14  *
15  *
16  *
17  * Czech Technical University, Faculty of Civil Engineering,
18  * Department of Structural Mechanics, 166 29 Prague, Czech Republic
19  *
20  * This library is free software; you can redistribute it and/or
21  * modify it under the terms of the GNU Lesser General Public
22  * License as published by the Free Software Foundation; either
23  * version 2.1 of the License, or (at your option) any later version.
24  *
25  * This program is distributed in the hope that it will be useful,
26  * but WITHOUT ANY WARRANTY; without even the implied warranty of
27  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
28  * Lesser General Public License for more details.
29  *
30  * You should have received a copy of the GNU Lesser General Public
31  * License along with this library; if not, write to the Free Software
32  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
33  */
34 
35 #ifndef interfaceelem3dtrlin_h
36 #define interfaceelem3dtrlin_h
37 
38 #include "../sm/Elements/structuralelement.h"
39 
40 #define _IFT_InterfaceElement3dTrLin_Name "interface3dtrlin"
41 
42 namespace oofem {
43 class FEI2dTrLin;
44 
51 {
52 protected:
55 
56 public:
57  InterfaceElement3dTrLin(int n, Domain * d);
59 
60  virtual int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords);
61  virtual bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords);
62 
63  virtual int computeNumberOfDofs() { return 18; }
64  virtual void giveDofManDofIDMask(int inode, IntArray &answer) const;
65 
66  virtual double computeVolumeAround(GaussPoint *gp);
67 
68  virtual int testElementExtension(ElementExtension ext) { return 0; }
69 
70  virtual Interface *giveInterface(InterfaceType) { return NULL; }
71 
72 #ifdef __OOFEG
73  virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep);
75  virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep);
76 #endif
77 
78  // definition & identification
79  virtual const char *giveInputRecordName() const { return _IFT_InterfaceElement3dTrLin_Name; }
80  virtual const char *giveClassName() const { return "InterfaceElement3dTrLin"; }
82  virtual Element_Geometry_Type giveGeometryType() const { return EGT_wedge_1; }
84 
85  virtual void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep);
86  virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep);
87  virtual MaterialMode giveMaterialMode() { return _3dInterface; }
88 
89 protected:
90  virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int = 1, int = ALL_STRAINS);
91  virtual void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) { }
92  virtual void computeGaussPoints();
93 
94  virtual bool computeGtoLRotationMatrix(FloatMatrix &answer);
95  void computeLCS(FloatMatrix &answer);
96 };
97 } // end namespace oofem
98 #endif // interfaceelem3dtrlin_h
integrationDomain
Used by integrator class to supply integration points for proper domain to be integrated (Area...
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
Class and object Domain.
Definition: domain.h:115
virtual const char * giveInputRecordName() const
virtual void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
Computes constitutive matrix of receiver.
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
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.
This class implements 3d triangular surface interface element with linear interpolation.
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer)
Computes interpolation matrix for element unknowns.
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
MaterialMode
Type representing material mode of integration point.
Definition: materialmode.h:89
Class implementing an array of integers.
Definition: intarray.h:61
MatResponseMode
Describes the character of characteristic material matrix.
virtual const char * giveClassName() const
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Abstract base class for all "structural" finite elements.
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
virtual Interface * giveInterface(InterfaceType)
Interface requesting service.
Class representing a 2d triangular linear interpolation based on area coordinates.
Definition: fei2dtrlin.h:44
virtual void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int=1, int=ALL_STRAINS)
Computes the geometrical matrix of receiver in given integration point.
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
ElementExtension
Type representing element extension.
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
UnknownType
Type representing particular unknown (its physical meaning).
Definition: unknowntype.h:55
void computeLCS(FloatMatrix &answer)
#define ALL_STRAINS
Class representing vector of real numbers.
Definition: floatarray.h:82
Implementation of matrix containing floating point numbers.
Definition: floatmatrix.h:94
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
virtual integrationDomain giveIntegrationDomain() const
Returns integration domain for receiver, used to initialize integration point over receiver volume...
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Class Interface.
Definition: interface.h:82
#define _IFT_InterfaceElement3dTrLin_Name
virtual bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords)
Computes the element local coordinates from given global coordinates.
InterfaceType
Enumerative type, used to identify interface type.
Definition: interfacetype.h:43
the oofem namespace is to define a context or scope in which all oofem names are defined.
virtual int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords)
Computes the global coordinates from given element's local coordinates.
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual bool computeGtoLRotationMatrix(FloatMatrix &answer)
Returns transformation matrix from global c.s.
virtual Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.

This page is part of the OOFEM documentation. Copyright (c) 2011 Borek Patzak
Project e-mail: info@oofem.org
Generated at Tue Jan 2 2018 20:07:29 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011