OOFEM 3.0
Loading...
Searching...
No Matches
latticecrosssection.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 latticecrosssection_h
36#define latticecrosssection_h
37
39#include "crosssection.h"
40#include "classfactory.h"
41
43
44#define _IFT_LatticeCrossSection_Name "latticecs"
45#define _IFT_LatticeCrossSection_Material "material"
46#define _IFT_LatticeCrossSection_thickness "thickness"
48
49namespace oofem {
50class GaussPoint;
51class Element;
52class FloatArray;
53class FloatMatrix;
54typedef GaussPoint IntegrationPoint;
55
62{
63public:
74
76
77 void initializeFrom(InputRecord &ir) override;
78
80
96 // Pass all calls to the material
97
98 double giveLatticeStress1d(double strain, GaussPoint *gp, TimeStep *tStep) const;
99
101
103
104 FloatMatrixF< 1, 1 >give1dStiffnessMatrix(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const;
105
106 FloatMatrixF< 3, 3 >give2dStiffnessMatrix(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const;
107
108 FloatMatrixF< 6, 6 >give3dStiffnessMatrix(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const;
110
112
113 int checkConsistency() override;
114
115 int giveIPValue(FloatArray &answer, GaussPoint *ip, InternalStateType type, TimeStep *tStep) override;
116
117 Material *giveMaterial(IntegrationPoint *ip) const override;
118 int giveMaterialNumber() const { return this->materialNum; }
119 void setMaterialNumber(int matNum) { this->materialNum = matNum; }
120
121 int packUnknowns(DataStream &buff, TimeStep *tStep, GaussPoint *gp) override;
122 int unpackAndUpdateUnknowns(DataStream &buff, TimeStep *tStep, GaussPoint *gp) override;
123 int estimatePackSize(DataStream &buff, GaussPoint *gp) override;
124
125 // identification and auxiliary functions
126 const char *giveClassName() const override { return "LatticeCrossSection"; }
127 const char *giveInputRecordName() const override { return _IFT_LatticeCrossSection_Name; }
128
129 virtual double give(int aProperty, GaussPoint *gp) const override;
130
131 // void giveCharMaterialStiffnessMatrix(FloatMatrix &answer, MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep);
132
133
135private:
137};
138} // end namespace oofem
139#endif // structuralcrosssection_h
CrossSection(int n, Domain *d)
Material * giveMaterial(IntegrationPoint *ip) const override
hidden by virtual oofem::Material* TransportCrossSection::giveMaterial() const
int unpackAndUpdateUnknowns(DataStream &buff, TimeStep *tStep, GaussPoint *gp) override
LatticeCrossSection(int n, Domain *d)
virtual double give(int aProperty, GaussPoint *gp) const override
const char * giveClassName() const override
FloatMatrixF< 3, 3 > give2dStiffnessMatrix(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const
double giveLatticeStress1d(double strain, GaussPoint *gp, TimeStep *tStep) const
FloatArrayF< 6 > giveLatticeStress3d(const FloatArrayF< 6 > &strain, GaussPoint *gp, TimeStep *tStep) const
FloatArrayF< 3 > giveLatticeStress2d(const FloatArrayF< 3 > &strain, GaussPoint *gp, TimeStep *tStep) const
const char * giveInputRecordName() const override
int giveIPValue(FloatArray &answer, GaussPoint *ip, InternalStateType type, TimeStep *tStep) override
int packUnknowns(DataStream &buff, TimeStep *tStep, GaussPoint *gp) override
int estimatePackSize(DataStream &buff, GaussPoint *gp) override
CrossSectExtension crossSectionType
FloatMatrixF< 6, 6 > give3dStiffnessMatrix(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const
virtual ~LatticeCrossSection()
Destructor.
LatticeStructuralMaterial * giveLatticeMaterial() const
void initializeFrom(InputRecord &ir) override
FloatMatrixF< 1, 1 > give1dStiffnessMatrix(MatResponseMode rMode, GaussPoint *gp, TimeStep *tStep) const
int testCrossSectionExtension(CrossSectExtension ext) override
#define _IFT_LatticeCrossSection_Name
CrossSectExtension
Type representing cross section extension for run time testing.
@ CS_LatticeStructuralCapability
Structural lattice capability.
GaussPoint IntegrationPoint
Definition gausspoint.h:272

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