suanPan
BilinearDP.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 BILINEARDP_H
30 #define BILINEARDP_H
31 
32 #include "NonlinearDruckerPrager.h"
33 
35  const double cohesion, cohesion_slope;
36  const double critical = -cohesion / cohesion_slope;
37 };
38 
40  [[nodiscard]] double compute_c(double) const override;
41  [[nodiscard]] double compute_dc(double) const override;
42 
43 public:
44  BilinearDP(unsigned, // tag
45  double, // elastic modulus
46  double, // poisson's ratio
47  double, // eta_yield (hydrostatic stress related)
48  double, // eta_flow (dilatancy angle related)
49  double, // xi (cohesion related)
50  double, // cohesion
51  double, // cohesion slope
52  double = 0. // density
53  );
54 
55  unique_ptr<Material> get_copy() override;
56 
57  void print() override;
58 };
59 
60 #endif
61 
The BilinearDP class.
Definition: BilinearDP.h:39
void print() override
Definition: BilinearDP.cpp:30
unique_ptr< Material > get_copy() override
Definition: BilinearDP.cpp:28
BilinearDP(unsigned, double, double, double, double, double, double, double, double=0.)
Definition: BilinearDP.cpp:24
The NonlinearDruckerPrager class.
Definition: NonlinearDruckerPrager.h:45
Definition: BilinearDP.h:34
const double cohesion
Definition: BilinearDP.h:35
const double critical
Definition: BilinearDP.h:36
const double cohesion_slope
Definition: BilinearDP.h:35