OOFEM  2.4
OOFEM.org - Object Oriented Finite Element Solver
qbrick1_ht.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 qbrick1_ht_h
36 #define qbrick1_ht_h
37 
38 #include "transportelement.h"
39 #include "spatiallocalizer.h"
40 #include "zznodalrecoverymodel.h"
41 #include "sprnodalrecoverymodel.h"
43 
44 #define _IFT_QBrick1_ht_Name "qbrick1ht"
45 #define _IFT_QBrick1_hmt_Name "qbrick1hmt"
46 
47 namespace oofem {
48 class FEI3dHexaQuad;
49 
55 {
56 protected:
58 
59 public:
60  QBrick1_ht(int n, Domain * d);
61  virtual ~QBrick1_ht();
62 
63  virtual double computeVolumeAround(GaussPoint *gp);
64  virtual FEInterpolation *giveInterpolation() const;
65 
66  // definition & identification
67  virtual const char *giveInputRecordName() const { return _IFT_QBrick1_ht_Name; }
68  virtual const char *giveClassName() const { return "QBrick1_ht"; }
69 
70  virtual int computeNumberOfDofs() { return ( emode == HeatTransferEM ) ? 20 : 40; }
72  virtual MaterialMode giveMaterialMode() { return _3dHeat; }
73 
75  virtual int testElementExtension(ElementExtension ext) { return ( ( ext == Element_SurfaceLoadSupport ) ? 1 : 0 ); }
76 
78  virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap);
81 
82 protected:
83  virtual void computeGaussPoints();
84  virtual double computeEdgeVolumeAround(GaussPoint *gp, int iEdge);
85  virtual IntegrationRule *GetSurfaceIntegrationRule(int approxOrder);
86  virtual double computeSurfaceVolumeAround(GaussPoint *gp, int iEdge);
87 };
88 
89 class QBrick1_hmt : public QBrick1_ht
90 {
91 public:
92  QBrick1_hmt(int n, Domain * d);
93 
94  virtual MaterialMode giveMaterialMode() { return _3dHeMo; }
95  virtual const char *giveInputRecordName() const { return _IFT_QBrick1_hmt_Name; }
96  virtual const char *giveClassName() const { return "QBrick1_hmt"; }
97 };
98 } // end namespace oofem
99 #endif // qbrick1_ht_h
static FEI3dHexaQuad interpolation
Definition: qbrick1_ht.h:57
virtual const char * giveInputRecordName() const
Definition: qbrick1_ht.h:95
The element interface required by ZZNodalRecoveryModel.
virtual const char * giveClassName() const
Definition: qbrick1_ht.h:96
Class and object Domain.
Definition: domain.h:115
QBrick1_ht(int n, Domain *d)
Definition: qbrick1_ht.C:55
Class representing implementation of quadratic hexahedra interpolation class.
Definition: fei3dhexaquad.h:70
The element interface required by ZZNodalRecoveryModel.
virtual int computeNumberOfDofs()
Computes or simply returns total number of element's local DOFs.
Definition: qbrick1_ht.h:70
MaterialMode
Type representing material mode of integration point.
Definition: materialmode.h:89
Class implementing an array of integers.
Definition: intarray.h:61
virtual SPRPatchType SPRNodalRecoveryMI_givePatchType()
Definition: qbrick1_ht.C:190
Abstract base class representing integration rule.
Element extension for surface loads.
virtual const char * giveClassName() const
Definition: qbrick1_ht.h:68
virtual double computeEdgeVolumeAround(GaussPoint *gp, int iEdge)
Computes the length around a integration point on a edge.
Definition: qbrick1_ht.C:109
Class representing a general abstraction for finite element interpolation class.
Definition: feinterpol.h:132
virtual double computeSurfaceVolumeAround(GaussPoint *gp, int iEdge)
Definition: qbrick1_ht.C:128
ElementExtension
Type representing element extension.
This abstract class represent a general base element class for transport problems.
Brick (3d) elements with quadratic approximation for heat and mass transfer.
Definition: qbrick1_ht.h:54
virtual void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap)
Definition: qbrick1_ht.C:164
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
Definition: qbrick1_ht.h:94
IRResultType
Type defining the return values of InputRecord reading operations.
Definition: irresulttype.h:47
#define _IFT_QBrick1_ht_Name
Definition: qbrick1_ht.h:44
virtual Interface * giveInterface(InterfaceType t)
Interface requesting service.
Definition: qbrick1_ht.C:139
virtual const char * giveInputRecordName() const
Definition: qbrick1_ht.h:67
Class representing the general Input Record.
Definition: inputrecord.h:101
virtual void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap)
Definition: qbrick1_ht.C:155
virtual MaterialMode giveMaterialMode()
Returns material mode for receiver integration points.
Definition: qbrick1_ht.h:72
Class Interface.
Definition: interface.h:82
The spatial localizer element interface associated to spatial localizer.
InterfaceType
Enumerative type, used to identify interface type.
Definition: interfacetype.h:43
virtual int testElementExtension(ElementExtension ext)
Tests if the element implements required extension.
Definition: qbrick1_ht.h:75
virtual IntegrationRule * GetSurfaceIntegrationRule(int approxOrder)
Definition: qbrick1_ht.C:118
the oofem namespace is to define a context or scope in which all oofem names are defined.
#define _IFT_QBrick1_hmt_Name
Definition: qbrick1_ht.h:45
virtual FEInterpolation * giveInterpolation() const
Definition: qbrick1_ht.C:71
virtual void computeGaussPoints()
Initializes the array of integration rules member variable.
Definition: qbrick1_ht.C:75
virtual ~QBrick1_ht()
Definition: qbrick1_ht.C:66
Class representing integration point in finite element program.
Definition: gausspoint.h:93
virtual double computeVolumeAround(GaussPoint *gp)
Returns volume related to given integration point.
Definition: qbrick1_ht.C:95
virtual int SPRNodalRecoveryMI_giveNumberOfIP()
Definition: qbrick1_ht.C:183
virtual IRResultType initializeFrom(InputRecord *ir)
Initializes receiver according to object description stored in input record.
Definition: qbrick1_ht.C:87

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:30 for OOFEM by doxygen 1.8.11 written by Dimitri van Heesch, © 1997-2011