OOFEM 3.0
Loading...
Searching...
No Matches
tr1darcy.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 tr1darcy_h_
36#define tr1darcy_h_
37
40
41#define _IFT_Tr1Darcy_Name "tr1darcy"
42
43namespace oofem {
44class FEI2dTrLin;
45
52{
53protected:
55
56public:
57 Tr1Darcy(int, Domain *);
58
59 void initializeFrom(InputRecord &ir, int priority) override;
60
61 FEInterpolation *giveInterpolation() const override;
62
63 MaterialMode giveMaterialMode() override { return _2dHeat; }
64 Element_Geometry_Type giveGeometryType() const override {return EGT_triangle_1;}
65
66
67 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
68 void giveCharacteristicVector(FloatArray &answer, CharType mtrx, ValueModeType mode, TimeStep *tStep) override;
69 void giveCharacteristicMatrix(FloatMatrix &answer, CharType mtrx, TimeStep *tStep) override;
70 void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode mode, TimeStep *tStep);
71
72 void computeGaussPoints() override;
73 int computeNumberOfDofs() override;
74
75 void computeExternalForcesVector(FloatArray &answer, TimeStep *tStep, ValueModeType mode) override;
76 void computeEdgeBCSubVectorAt(FloatArray &answer, Load *load, int iEdge, TimeStep *tStep, ValueModeType mode, int indx);
77 void computeInternalForcesVector(FloatArray &answer, TimeStep *tStep) override;
78
79 double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override;
80 double giveThicknessAt(const FloatArray &gcoords) override;
81
82 const char *giveInputRecordName() const override { return _IFT_Tr1Darcy_Name; }
83 const char *giveClassName() const override { return "Tr1Darcy"; }
84 void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override;
85 Interface *giveInterface(InterfaceType interface) override;
86};
87}
88
89#endif // tr1darcy_h_
void computeInternalForcesVector(FloatArray &answer, TimeStep *tStep) override
Definition tr1darcy.C:112
FEInterpolation * giveInterpolation() const override
Definition tr1darcy.C:70
void giveCharacteristicMatrix(FloatMatrix &answer, CharType mtrx, TimeStep *tStep) override
Definition tr1darcy.C:222
void initializeFrom(InputRecord &ir, int priority) override
Definition tr1darcy.C:64
const char * giveInputRecordName() const override
Definition tr1darcy.h:82
Element_Geometry_Type giveGeometryType() const override
Definition tr1darcy.h:64
MaterialMode giveMaterialMode() override
Definition tr1darcy.h:63
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode mode, TimeStep *tStep)
Definition tr1darcy.C:84
void computeGaussPoints() override
Definition tr1darcy.C:75
Interface * giveInterface(InterfaceType interface) override
Definition tr1darcy.C:246
void computeEdgeBCSubVectorAt(FloatArray &answer, Load *load, int iEdge, TimeStep *tStep, ValueModeType mode, int indx)
Definition tr1darcy.C:167
double giveThicknessAt(const FloatArray &gcoords) override
Definition tr1darcy.C:209
void NodalAveragingRecoveryMI_computeNodalValue(FloatArray &answer, int node, InternalStateType type, TimeStep *tStep) override
Definition tr1darcy.C:237
int computeNumberOfDofs() override
Definition tr1darcy.C:256
double computeEdgeVolumeAround(GaussPoint *gp, int iEdge) override
Definition tr1darcy.C:215
void giveDofManDofIDMask(int inode, IntArray &answer) const override
Definition tr1darcy.C:231
const char * giveClassName() const override
Definition tr1darcy.h:83
void computeExternalForcesVector(FloatArray &answer, TimeStep *tStep, ValueModeType mode) override
Definition tr1darcy.C:140
static FEI2dTrLin interpolation_lin
Definition tr1darcy.h:54
Tr1Darcy(int, Domain *)
Definition tr1darcy.C:58
void giveCharacteristicVector(FloatArray &answer, CharType mtrx, ValueModeType mode, TimeStep *tStep) override
Definition tr1darcy.C:101
TransportElement(int n, Domain *d, ElementMode em=HeatTransferEM)
#define _IFT_Tr1Darcy_Name
Definition tr1darcy.h:41

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