suanPan
Loading...
Searching...
No Matches
ConcreteTsai.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 ******************************************************************************/
29#ifndef CONCRETETSAI_H
30#define CONCRETETSAI_H
31
33
34class ConcreteTsai final : public SimpleHysteresis {
35 const double c_stress, c_strain, c_m, c_n;
36 const double t_stress, t_strain, t_m, t_n;
37
38 [[nodiscard]] podarray<double> compute_compression_initial_reverse() const override;
39 [[nodiscard]] podarray<double> compute_tension_initial_reverse() const override;
40 [[nodiscard]] podarray<double> compute_compression_backbone(double) const override;
41 [[nodiscard]] podarray<double> compute_tension_backbone(double) const override;
42 [[nodiscard]] double compute_compression_residual(double, double) const override;
43 [[nodiscard]] double compute_tension_residual(double, double) const override;
44
45public:
46 ConcreteTsai(unsigned, // tag
47 double, // peak stress in negative
48 double, // crack stress in positive
49 double, // MC
50 double, // NC
51 double, // MT
52 double, // NT
53 double, // middle point
54 double, // peak strain in negative
55 double, // crack strain in positive
56 double = 0. // density
57 );
58 ConcreteTsai(unsigned, // tag
59 double, // peak stress in negative
60 double, // crack stress in positive
61 double, // M
62 double, // N
63 double, // middle point
64 double, // peak strain in negative
65 double, // crack strain in positive
66 double = 0. // density
67 );
68
69 int initialize(const shared_ptr<DomainBase>&) override;
70
71 [[nodiscard]] double get_parameter(ParameterType) const override;
72
73 unique_ptr<Material> get_copy() override;
74};
75
76#endif
77
ParameterType
Definition ParameterType.h:21
A ConcreteTsai material class.
Definition ConcreteTsai.h:34
unique_ptr< Material > get_copy() override
Definition ConcreteTsai.cpp:96
double get_parameter(ParameterType) const override
Definition ConcreteTsai.cpp:88
int initialize(const shared_ptr< DomainBase > &) override
Definition ConcreteTsai.cpp:78
A SimpleHysteresis material class.
Definition SimpleHysteresis.h:40