suanPan
Material2D.h
Go to the documentation of this file.
1 /*******************************************************************************
2  * Copyright (C) 2017-2024 Theodore Chang
3  *
4  * This program is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program. If not, see <http://www.gnu.org/licenses/>.
16  ******************************************************************************/
36 #ifndef MATERIAL2D_H
37 #define MATERIAL2D_H
38 
39 #include <Material/Material.h>
40 
41 using std::vector;
42 
43 class Material2D : public Material {
44 public:
45  Material2D(
46  unsigned, // tag
47  PlaneType, // plane type
48  double // density
49  );
50 
51  vector<vec> record(OutputType) override;
52 };
53 
54 #endif
55 
OutputType
Definition: OutputType.h:23
The Material2D class defines a isotropic elastic material for plane stress and plane strain problems.
Definition: Material2D.h:43
Material2D(unsigned, PlaneType, double)
Definition: Material2D.cpp:22
vector< vec > record(OutputType) override
Definition: Material2D.cpp:25
A Material abstract base class.
Definition: Material.h:111
PlaneType
Definition: Material.h:43
std::vector< T > vector
Definition: container.h:53