suanPan
TableCDP.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 ******************************************************************************/
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:
44 unsigned, // tag
45 double, // elastic modulus
46 double, // poissons ratio
47 mat&&, // tension table
48 mat&&, // compression table
49 mat&&, // tension damage table
50 mat&&, // compression damage table
51 double = .2, // dilatancy parameter
52 double = 1.16, // biaxial compression strength ratio
53 double = .5, // stiffness recovery
54 double = 2400E-12 // density
55 );
56
58};
59
60#endif
61
The NonlinearCDP class.
Definition: NonlinearCDP.h:54
The TableCDP class.
Definition: TableCDP.h:36
TableCDP(unsigned, double, double, mat &&, mat &&, mat &&, mat &&, double=.2, double=1.16, double=.5, double=2400E-12)
Definition: TableCDP.cpp:97
unique_ptr< Material > get_copy() override
Definition: TableCDP.cpp:128