suanPan
Loading...
Searching...
No Matches
Concrete21.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 ******************************************************************************/
33#ifndef CONCRETE21_H
34#define CONCRETE21_H
35
38
39class Concrete21 final : public Material2D {
40 ConcreteTsai concrete_major, concrete_minor;
41
42 double shear_modulus = 0.;
43
44public:
45 Concrete21(unsigned, // tag
46 double, // peak stress in negative
47 double, // crack stress in positive
48 double, // MC
49 double, // NC
50 double, // MT
51 double, // NT
52 double, // middle point
53 double, // peak strain in negative
54 double, // crack strain in positive
55 double = 0. // density
56 );
57
58 int initialize(const shared_ptr<DomainBase>&) override;
59
60 unique_ptr<Material> get_copy() override;
61
62 [[nodiscard]] double get_parameter(ParameterType) const override;
63
64 int update_trial_status(const vec&) override;
65
66 int clear_status() override;
67 int commit_status() override;
68 int reset_status() override;
69
70 void print() override;
71};
72
73#endif
74
ParameterType
Definition ParameterType.h:21
A Concrete21 material class.
Definition Concrete21.h:39
double get_parameter(ParameterType) const override
Definition Concrete21.cpp:40
int update_trial_status(const vec &) override
Definition Concrete21.cpp:45
void print() override
Definition Concrete21.cpp:102
int reset_status() override
Definition Concrete21.cpp:95
unique_ptr< Material > get_copy() override
Definition Concrete21.cpp:38
int clear_status() override
Definition Concrete21.cpp:81
int initialize(const shared_ptr< DomainBase > &) override
Definition Concrete21.cpp:27
int commit_status() override
Definition Concrete21.cpp:88
A ConcreteTsai material class.
Definition ConcreteTsai.h:34
The Material2D class defines a isotropic elastic material for plane stress and plane strain problems.
Definition Material2D.h:50