OOFEM 3.0
Loading...
Searching...
No Matches
planstrssxfem.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 planstrssxfem_h
36#define planstrssxfem_h
37
40#include "vtkxmlexportmodule.h"
41
42#define _IFT_PlaneStress2dXfem_Name "planestress2dxfem"
43
44namespace oofem {
51{
52protected:
53 void updateYourself(TimeStep *tStep) override;
54 void postInitialize() override;
55
56public:
60 virtual ~PlaneStress2dXfem() { }
61
63
64 const char *giveInputRecordName() const override { return _IFT_PlaneStress2dXfem_Name; }
65 const char *giveClassName() const override { return "PlaneStress2dXfem"; }
66 int computeNumberOfDofs() override;
67 void computeGaussPoints() override;
68
69 void increaseNumGP();
70
71 void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override;
72 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx = 1, int upperIndx = ALL_STRAINS) override;
73 void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
74 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
75 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *, TimeStep *tStep) override;
76 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
77 void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override;
78
79 void computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override;
80
81 void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord) override;
82
83 void computeConsistentMassMatrix(FloatMatrix &answer, TimeStep *tStep, double &mass, const double *ipDensity = NULL) override
84 { XfemStructuralElementInterface :: XfemElementInterface_computeConsistentMassMatrix(answer, tStep, mass, ipDensity); }
85
87
88#ifdef __OOFEG
89 void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override;
90 //void drawDeformedGeometry(oofegGraphicContext &gc, TimeStep *tStep, UnknownType);
91 void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override;
92 //void drawSpecial(oofegGraphicContext &gc, TimeStep *tStep) override;
93#endif
94
95 void initializeFrom(InputRecord &ir, int priority) override;
96 MaterialMode giveMaterialMode() override;
97 void giveInputRecord(DynamicInputRecord &input) override;
98
100 void giveCompositeExportData(std::vector< ExportRegion > &vtkPieces, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep) override;
101
102};
103} // end namespace oofem
104#endif
int numberOfDofMans
Number of dofmanagers.
Definition element.h:136
void computeConsistentMassMatrix(FloatMatrix &answer, TimeStep *tStep, double &mass, const double *ipDensity=NULL) override
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord) override
const char * giveInputRecordName() const override
void computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override
int computeNumberOfDofs() override
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *, TimeStep *tStep) override
Interface * giveInterface(InterfaceType it) override
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
void giveCompositeExportData(std::vector< ExportRegion > &vtkPieces, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep) override
VTK Interface.
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
void drawRawGeometry(oofegGraphicContext &gc, TimeStep *tStep) override
void updateYourself(TimeStep *tStep) override
const char * giveClassName() const override
void computeGaussPoints() override
void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
virtual ~PlaneStress2dXfem()
Destructor.
void postInitialize() override
Performs post initialization steps.
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
MaterialMode giveMaterialMode() override
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx=1, int upperIndx=ALL_STRAINS) override
void initializeFrom(InputRecord &ir, int priority) override
void drawScalar(oofegGraphicContext &gc, TimeStep *tStep) override
Element_Geometry_Type giveGeometryType() const override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
void giveInputRecord(DynamicInputRecord &input) override
PlaneStress2dXfem(int n, Domain *d)
Constructor.
PlaneStress2d(int n, Domain *d)
Definition planstrss.C:62
oofem::oofegGraphicContext gc[OOFEG_LAST_LAYER]
#define _IFT_PlaneStress2dXfem_Name
#define ALL_STRAINS

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