suanPan
Loading...
Searching...
No Matches
Material2D.h
Go to the documentation of this file.
1/*******************************************************************************
2 * Copyright (C) 2017-2023 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
41using std::vector;
42
43enum class PlaneType : unsigned {
44 S = 1,
45 E = 2,
46 A = 3,
47 N = 0
48};
49
50class Material2D : public Material {
51protected:
53
54public:
55 Material2D(unsigned, // tag
56 PlaneType, // plane type
57 double // density
58 );
59
60 vector<vec> record(OutputType) override;
61};
62
63#endif
64
OutputType
Definition: OutputType.h:21
The Material2D class defines a isotropic elastic material for plane stress and plane strain problems.
Definition: Material2D.h:50
vector< vec > record(OutputType) override
Definition: Material2D.cpp:26
const PlaneType plane_type
Definition: Material2D.h:52
A Material abstract base class.
Definition: Material.h:102
PlaneType
Definition: Material2D.h:43