OOFEM 3.0
Loading...
Searching...
No Matches
ltrspace.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 - 2025 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 ltrspace_h
36#define ltrspace_h
37
44#include "spatiallocalizer.h"
47
48#define _IFT_LTRSpace_Name "ltrspace"
49
50namespace oofem {
51class FEI3dTetLin;
52
62{
63protected:
65
66public:
67 LTRSpace(int n, Domain * d);
68 virtual ~LTRSpace() { }
69
70 FEInterpolation *giveInterpolation() const override;
71
72 void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep) override;
73 int giveNumberOfIPForMassMtrxIntegration() override { return 4; }
75
76 // definition & identification
77 const char *giveInputRecordName() const override { return _IFT_LTRSpace_Name; }
78 const char *giveClassName() const override { return "LTRSpace"; }
79 Element_Geometry_Type giveGeometryType() const override {return EGT_tetra_1;}
80
81
82#ifdef __OOFEG
83 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
85 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
86 void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep) override;
87#endif
88
89 double giveRelativeSelfComputationalCost() override { return 2.15; }
90
92 InternalStateType type, TimeStep *tStep) override;
93
95 void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override;
98
99 // HuertaErrorEstimatorInterface
100 void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId,
101 IntArray &localNodeIdArray, IntArray &globalNodeIdArray,
102 HuertaErrorEstimatorInterface :: SetupMode sMode, TimeStep *tStep,
103 int &localNodeId, int &localElemId, int &localBcId,
104 IntArray &controlNode, IntArray &controlDof,
105 HuertaErrorEstimator :: AnalysisMode aMode) override;
107};
108} // end namespace oofem
109#endif // ltrspace_h
virtual ~LTRSpace()
Definition ltrspace.h:68
int SPRNodalRecoveryMI_giveNumberOfIP() override
Definition ltrspace.C:171
void HuertaErrorEstimatorI_setupRefinedElementProblem(RefinedElement *refinedElement, int level, int nodeId, IntArray &localNodeIdArray, IntArray &globalNodeIdArray, HuertaErrorEstimatorInterface ::SetupMode sMode, TimeStep *tStep, int &localNodeId, int &localElemId, int &localBcId, IntArray &controlNode, IntArray &controlDof, HuertaErrorEstimator ::AnalysisMode aMode) override
Definition ltrspace.C:183
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Definition ltrspace.C:338
void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override
Definition ltrspace.C:124
const char * giveClassName() const override
Definition ltrspace.h:78
Interface * giveInterface(InterfaceType it) override
Definition ltrspace.C:74
SPRPatchType SPRNodalRecoveryMI_givePatchType() override
Definition ltrspace.C:176
const char * giveInputRecordName() const override
Definition ltrspace.h:77
void SPRNodalRecoveryMI_giveSPRAssemblyPoints(IntArray &pap) override
Definition ltrspace.C:140
void SPRNodalRecoveryMI_giveDofMansDeterminedByPatch(IntArray &answer, int pap) override
Definition ltrspace.C:151
int giveNumberOfIPForMassMtrxIntegration() override
Definition ltrspace.h:73
void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep) override
Definition ltrspace.C:400
void HuertaErrorEstimatorI_computeNmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
Definition ltrspace.C:254
Element_Geometry_Type giveGeometryType() const override
Definition ltrspace.h:79
void computeLumpedMassMatrix(FloatMatrix &answer, TimeStep *tStep) override
Definition ltrspace.C:103
double giveRelativeSelfComputationalCost() override
Definition ltrspace.h:89
static FEI3dTetLin interpolation
Definition ltrspace.h:64
LTRSpace(int n, Domain *d)
Definition ltrspace.C:61
void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType) override
Definition ltrspace.C:303
FEInterpolation * giveInterpolation() const override
Definition ltrspace.C:95
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
Definition ltrspace.C:262
SpatialLocalizerInterface(Element *element)
Structural3DElement(int n, Domain *d)
ZZErrorEstimatorInterface(Element *element)
Constructor.
ZZNodalRecoveryModelInterface(Element *element)
Constructor.
#define _IFT_LTRSpace_Name
Definition ltrspace.h:48
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]

This page is part of the OOFEM-3.0 documentation. Copyright Copyright (C) 1994-2025 Borek Patzak Bořek Patzák
Project e-mail: oofem@fsv.cvut.cz
Generated at for OOFEM by doxygen 1.15.0 written by Dimitri van Heesch, © 1997-2011