suanPan
MultilinearElastic1D.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 ******************************************************************************/
28#ifndef MULTILINEARELASTIC1D_H
29#define MULTILINEARELASTIC1D_H
30
32
34 const mat backbone;
35};
36
38public:
40 unsigned, // tag
41 mat&&, // backbone
42 double = 0. // density
43 );
44
45 int initialize(const shared_ptr<DomainBase>&) override;
46
48
49 int update_trial_status(const vec&) override;
50
51 int clear_status() override;
52 int commit_status() override;
53 int reset_status() override;
54
55 void print() override;
56};
57
58#endif
59
A Material1D class.
Definition: Material1D.h:36
A MultilinearElastic1D material class.
Definition: MultilinearElastic1D.h:37
void print() override
Definition: MultilinearElastic1D.cpp:83
MultilinearElastic1D(unsigned, mat &&, double=0.)
Definition: MultilinearElastic1D.cpp:20
unique_ptr< Material > get_copy() override
Definition: MultilinearElastic1D.cpp:35
int update_trial_status(const vec &) override
Definition: MultilinearElastic1D.cpp:37
int reset_status() override
Definition: MultilinearElastic1D.cpp:76
int clear_status() override
Definition: MultilinearElastic1D.cpp:62
int initialize(const shared_ptr< DomainBase > &) override
Definition: MultilinearElastic1D.cpp:29
int commit_status() override
Definition: MultilinearElastic1D.cpp:69
Definition: MultilinearElastic1D.h:33
const mat backbone
Definition: MultilinearElastic1D.h:34