OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
intelsurftr1.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 intelsurftr1_h
36 #define intelsurftr1_h
37 
38 #include "../sm/Elements/Interfaces/structuralinterfaceelement.h"
39 #include "fei3dtrlin.h"
40 
41 #define _IFT_IntElSurfTr1_Name "intelsurftr1"
42 
43 namespace oofem {
48 {
49 protected:
51 
52 public:
53  IntElSurfTr1(int n, Domain *d);
54  virtual ~IntElSurfTr1() { }
55 
56  virtual int computeGlobalCoordinates(FloatArray &answer, const FloatArray &lcoords);
57  virtual bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords);
59  //virtual bool computeGtoLRotationMatrix(FloatMatrix &answer);
60  virtual void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer);
61 
62  virtual int computeNumberOfDofs() { return 18; }
63  virtual void giveDofManDofIDMask(int inode, IntArray &answer) const;
64 
65  virtual double computeAreaAround(IntegrationPoint *ip);
66 
67  virtual void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep)
68  {
69  this->giveInterfaceCrossSection()->giveEngTraction_3d(answer, gp, jump, tStep);
70  }
71 
73  {
74  this->giveInterfaceCrossSection()->give3dStiffnessMatrix_Eng(answer, rMode, ip, tStep);
75  }
76 
77  // definition & identification
78  virtual const char *giveInputRecordName() const { return _IFT_IntElSurfTr1_Name; }
80  virtual Element_Geometry_Type giveGeometryType() const { return EGT_wedge_1; }
81 
82  #ifdef __OOFEG
83  virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep);
85  virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep);
86  #endif
87 
88 protected:
89  virtual void computeNmatrixAt(GaussPoint *ip, FloatMatrix &answer);
90  virtual void computeGaussPoints();
91 
92 };
93 } // end namespace oofem
94 #endif // intelsurftr1_h
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: intelsurftr1.C:131
virtual const char * giveInputRecordName() const
Definition: intelsurftr1.h:78
static FEI3dTrLin interpolation
Definition: intelsurftr1.h:50
Class and object Domain.
Definition: domain.h:115
Element_Geometry_Type
Enumerative type used to classify element geometry Possible values are: EGT_point - point in space EG...
virtual void computeCovarBaseVectorsAt(IntegrationPoint *ip, FloatArray &G1, FloatArray &G2)
Definition: intelsurftr1.C:100
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: intelsurftr1.h:62
virtual void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep)
Definition: intelsurftr1.C:201
First order triangular interpolation in 3D space (3 nodes).
Definition: fei3dtrlin.h:46
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
virtual Element_Geometry_Type giveGeometryType() const
Returns the element geometry type.
Definition: intelsurftr1.h:80
virtual void giveStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, IntegrationPoint *ip, TimeStep *tStep)
Definition: intelsurftr1.h:72
Class implementing an array of integers.
Definition: intarray.h:61
MatResponseMode
Describes the character of characteristic material matrix.
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: intelsurftr1.C:87
virtual void computeTransformationMatrixAt(GaussPoint *gp, FloatMatrix &answer)
Definition: intelsurftr1.C:164
virtual void drawScalar(oofegGraphicContext &gc, TimeStep *tStep)
Definition: intelsurftr1.C:236
This class implements 3d triangular surface interface element with linear interpolation.
Definition: intelsurftr1.h:47
virtual double computeAreaAround(IntegrationPoint *ip)
Definition: intelsurftr1.C:120
UnknownType
Type representing particular unknown (its physical meaning).
Definition: unknowntype.h:55
void giveEngTraction_3d(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep)
virtual void giveDofManDofIDMask(int inode, IntArray &answer) const
Returns dofmanager dof mask for node.
Definition: intelsurftr1.C:138
IntElSurfTr1(int n, Domain *d)
Definition: intelsurftr1.C:57
Class representing vector of real numbers.
Definition: floatarray.h:82
virtual void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType)
Definition: intelsurftr1.C:232
void give3dStiffnessMatrix_Eng(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep)
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
Class representing the general Input Record.
Definition: inputrecord.h:101
#define _IFT_IntElSurfTr1_Name
Definition: intelsurftr1.h:41
virtual ~IntElSurfTr1()
Definition: intelsurftr1.h:54
virtual void giveEngTraction(FloatArray &answer, GaussPoint *gp, const FloatArray &jump, TimeStep *tStep)
Definition: intelsurftr1.h:67
Abstract base class for all structural interface elements.
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.
Definition: intelsurftr1.C:177
virtual bool computeLocalCoordinates(FloatArray &answer, const FloatArray &gcoords)
Computes the element local coordinates from given global coordinates.
Definition: intelsurftr1.C:193
Class representing integration point in finite element program.
Definition: gausspoint.h:93
Class representing solution step.
Definition: timestep.h:80
virtual void computeNmatrixAt(GaussPoint *ip, FloatMatrix &answer)
Computes modified interpolation matrix (N) for the element which multiplied with the unknowns vector ...
Definition: intelsurftr1.C:65
StructuralInterfaceCrossSection * giveInterfaceCrossSection()

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