OOFEM 3.0
Loading...
Searching...
No Matches
basemixedpressureelement.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 *
14 * Copyright (C) 1993 - 2025 Borek Patzak
15 *
16 *
17 *
18 * Czech Technical University, Faculty of Civil Engineering,
19 * Department of Structural Mechanics, 166 29 Prague, Czech Republic
20 *
21 * This library is free software; you can redistribute it and/or
22 * modify it under the terms of the GNU Lesser Base Public
23 * License as published by the Free Software Foundation; either
24 * version 2.1 of the License, or (at your option) any later version.
25 *
26 * This program is distributed in the hope that it will be useful,
27 * but WITHOUT ANY WARRANTY; without even the implied warranty of
28 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
29 * Lesser Base Public License for more details.
30 *
31 * You should have received a copy of the GNU Lesser Base Public
32 * License along with this library; if not, write to the Free Software
33 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
34 */
35
36#ifndef basemixedpressureelement_h
37#define basemixedpressureelement_h
38
41
42namespace oofem {
48{
49protected:
52
53
54public:
57
58 virtual void initializeFrom(InputRecord &ir);
59
60protected:
61
65
67
68 virtual int giveNumberOfPressureDofs() = 0;
70 virtual int giveNumberOfDofs() = 0;
71
72 virtual void giveDofManDofIDMask_u(IntArray &answer) = 0;
73 virtual void giveDofManDofIDMask_p(IntArray &answer) = 0;
75
76
77
78 virtual void computeStiffnessMatrix(FloatMatrix &, MatResponseMode, TimeStep *);
79 void computeStiffnessMatrix_uu(FloatMatrix &, MatResponseMode, TimeStep *);
80 void computeStiffnessMatrix_up(FloatMatrix &, MatResponseMode, TimeStep *);
81 void computeStiffnessMatrix_pp(FloatMatrix &, MatResponseMode, TimeStep *);
82
83
84
85
86 void computeStressVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep);
87 void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep);
88 void computePressure(double &answer, GaussPoint *gp, TimeStep *tStep);
89
90
91 void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord);
92 void giveInternalForcesVector_u(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord);
93 void giveInternalForcesVector_p(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord);
94
95 void computeForceLoadVector(FloatArray &answer, TimeStep *tStep, ValueModeType mode);
96 void computeLocForceLoadVector(FloatArray &answer, TimeStep *tStep, ValueModeType mode);
97
100 // void giveLocationArrayOfDofIDs( IntArray &answer, const UnknownNumberingScheme &s, const IntArray &dofIdArray );
101 void giveLocationArrayOfDofIDs(IntArray &locationArray_u, IntArray &locationArray_p, const UnknownNumberingScheme &s, const IntArray &dofIdArray_u, const IntArray &dofIdArray_p);
102 virtual void postInitialize();
103 virtual void updateInternalState(TimeStep *tStep);
104};
105} // end namespace oofem
106
107#endif
virtual IntArray & giveMicromorphicDofsOrdering()
void computeStiffnessMatrix_uu(FloatMatrix &, MatResponseMode, TimeStep *)
virtual void computeStiffnessMatrix(FloatMatrix &, MatResponseMode, TimeStep *)
End of pure virtual functions.
void giveInternalForcesVector_u(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
void computeStiffnessMatrix_up(FloatMatrix &, MatResponseMode, TimeStep *)
void computeStiffnessMatrix_pp(FloatMatrix &, MatResponseMode, TimeStep *)
virtual IntArray & giveDisplacementDofsOrdering()
void giveLocationArrayOfDofIDs(IntArray &locationArray_u, IntArray &locationArray_p, const UnknownNumberingScheme &s, const IntArray &dofIdArray_u, const IntArray &dofIdArray_p)
virtual int giveNumberOfPressureDofs()=0
virtual void giveDofManDofIDMask_p(IntArray &answer)=0
void computePressure(double &answer, GaussPoint *gp, TimeStep *tStep)
void computeForceLoadVector(FloatArray &answer, TimeStep *tStep, ValueModeType mode)
void computeStressVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
virtual void updateInternalState(TimeStep *tStep)
virtual void giveDofManDofIDMask_u(IntArray &answer)=0
void computeStrainVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep)
virtual void computePressureNMatrixAt(GaussPoint *, FloatArray &)=0
virtual void computeVolumetricBmatrixAt(GaussPoint *gp, FloatArray &Bvol, NLStructuralElement *element)=0
virtual void initializeFrom(InputRecord &ir)
virtual NLStructuralElement * giveElement()=0
Pure virtual functions.
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
void computeLocForceLoadVector(FloatArray &answer, TimeStep *tStep, ValueModeType mode)
void giveInternalForcesVector_p(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord)
virtual int giveNumberOfDisplacementDofs()=0

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