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