OOFEM 3.0
Loading...
Searching...
No Matches
qtrplanstrssxfem.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 QTRPLANSTRSSXFEM_H_
36#define QTRPLANSTRSSXFEM_H_
37
40#include "vtkxmlexportmodule.h"
41
42#include "domain.h"
43
44#define _IFT_QTrPlaneStress2dXFEM_Name "qtrplanestress2dxfem"
45#define _IFT_QTrPlaneStress2dXFEM_RegCoeff "reg_coeff"
46#define _IFT_QTrPlaneStress2dXFEM_RegCoeffTol "reg_coeff_tol"
47
48namespace oofem {
49class ParamKey;
50
57{
58protected:
59 void updateYourself(TimeStep *tStep) override;
60 void postInitialize() override;
61
63
66public:
68 virtual ~QTrPlaneStress2dXFEM();
69
71
72 const char *giveInputRecordName() const override { return _IFT_QTrPlaneStress2dXFEM_Name; }
73 const char *giveClassName() const override { return "QTrPlaneStress2dXFEM"; }
74
75 int computeNumberOfDofs() override;
76 void computeGaussPoints() override;
77 void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override;
78 void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer,
79 int lowerIndx = 1, int upperIndx = ALL_STRAINS) override;
80 void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override;
81
82 void giveDofManDofIDMask(int inode, IntArray &answer) const override;
83 void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *, TimeStep *tStep) override;
84 void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override;
85 void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override;
86
87 void computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override;
88
89 void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord) override;
90 void computeConsistentMassMatrix(FloatMatrix &answer, TimeStep *tStep, double &mass, const double *ipDensity = NULL) override { XfemStructuralElementInterface :: XfemElementInterface_computeConsistentMassMatrix(answer, tStep, mass, ipDensity); }
91
93
94 void initializeFrom(InputRecord &ir, int priority) override;
95 MaterialMode giveMaterialMode() override;
96 void giveInputRecord(DynamicInputRecord &input) override;
97
98 void computeField(ValueModeType mode, TimeStep *tStep, const FloatArray &lcoords, FloatArray &answer) override;
99
101 void giveCompositeExportData(std::vector< ExportRegion > &vtkPieces, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep) override;
102
103protected:
104 int giveNumberOfIPForMassMtrxIntegration() override { return 6; } // TODO: Check
105};
106
107} /* namespace OOFEM */
108#endif /* QTRPLANSTRSSXFEM_H_ */
int numberOfDofMans
Number of dofmanagers.
Definition element.h:136
void computeStressVector(FloatArray &answer, const FloatArray &strain, GaussPoint *gp, TimeStep *tStep) override
void giveDofManDofIDMask(int inode, IntArray &answer) const override
void computeBHmatrixAt(GaussPoint *gp, FloatMatrix &answer) override
void computeField(ValueModeType mode, TimeStep *tStep, const FloatArray &lcoords, FloatArray &answer) override
void computeDeformationGradientVector(FloatArray &answer, GaussPoint *gp, TimeStep *tStep) override
int giveNumberOfIPForMassMtrxIntegration() override
void initializeFrom(InputRecord &ir, int priority) override
static ParamKey IPK_QTrPlaneStress2dXFEM_RegCoeffTol
void updateYourself(TimeStep *tStep) override
void computeConsistentMassMatrix(FloatMatrix &answer, TimeStep *tStep, double &mass, const double *ipDensity=NULL) override
void computeNmatrixAt(const FloatArray &iLocCoord, FloatMatrix &answer) override
void computeBmatrixAt(GaussPoint *gp, FloatMatrix &answer, int lowerIndx=1, int upperIndx=ALL_STRAINS) override
const char * giveClassName() const override
QTrPlaneStress2dXFEM(int n, Domain *d)
Element_Geometry_Type giveGeometryType() const override
void giveInternalForcesVector(FloatArray &answer, TimeStep *tStep, int useUpdatedGpRecord) override
void postInitialize() override
Performs post initialization steps.
const char * giveInputRecordName() const override
void computeConstitutiveMatrixAt(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *, TimeStep *tStep) override
void computeStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, TimeStep *tStep) override
static ParamKey IPK_QTrPlaneStress2dXFEM_RegCoeff
void giveCompositeExportData(std::vector< ExportRegion > &vtkPieces, IntArray &primaryVarsToExport, IntArray &internalVarsToExport, IntArray cellVarsToExport, TimeStep *tStep) override
VTK Interface.
MaterialMode giveMaterialMode() override
Interface * giveInterface(InterfaceType it) override
void giveInputRecord(DynamicInputRecord &input) override
QTrPlaneStress2d(int n, Domain *d)
Definition qtrplstr.C:58
#define _IFT_QTrPlaneStress2dXFEM_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