suanPan
Loading...
Searching...
No Matches
TableCDP.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 ******************************************************************************/
31#ifndef TABLECDP_H
32#define TABLECDP_H
33
34#include "NonlinearCDP.h"
35
36class TableCDP final : public NonlinearCDP {
37 mat t_table, c_table, dt_table, dc_table;
38
39 [[nodiscard]] podarray<double> compute_tension_backbone(double) const override;
40 [[nodiscard]] podarray<double> compute_compression_backbone(double) const override;
41
42public:
43 TableCDP(unsigned, // tag
44 double, // elastic modulus
45 double, // poissons ratio
46 mat&&, // tension table
47 mat&&, // compression table
48 mat&&, // tension damage table
49 mat&&, // compression damage table
50 double = .2, // dilatancy parameter
51 double = 1.16, // biaxial compression strength ratio
52 double = .5, // stiffness recovery
53 double = 2400E-12 // density
54 );
55
56 unique_ptr<Material> get_copy() override;
57};
58
59#endif
60
The NonlinearCDP class.
Definition: NonlinearCDP.h:54
The TableCDP class.
Definition: TableCDP.h:36
unique_ptr< Material > get_copy() override
Definition: TableCDP.cpp:128