waves
Basic FE playground
wMedium.h
Go to the documentation of this file.
1 #ifndef KATOPTRON_MEDIUM_H
2 #define KATOPTRON_MEDIUM_H
3 
4 #include "katoptron.h"
5 #include "wGroup.h"
6 #include <string>
7 #include <vector>
8 
9 namespace katoptron
10 {
11 
15 class KATOPTRON_API Medium : public tbox::Group
16 {
17 public:
18  std::string medium_name;
19  double E;
20  double nu;
21  double k;
22  double beta;
23  std::vector<double> E_vector;
24  std::vector<double> nu_vector;
25  std::vector<double> k_vector;
26  std::vector<double> beta_vector;
27 
28  Medium(Problem &pbl,
29  int no,
30  std::string _medium_name,
31  std::vector<double> _E,
32  std::vector<double> _nu,
33  double _k = 0.,
34  double _beta = 0.);
35 
36  Medium(Problem &pbl,
37  std::string const &name,
38  std::string _medium_name,
39  std::vector<double> _E,
40  std::vector<double> _nu,
41  double _k = 0.,
42  double _beta = 0.);
43 
44  Medium(Problem &pbl,
45  int no,
46  std::string _medium_name,
47  std::vector<double> _E,
48  std::vector<double> _nu,
49  std::vector<double> _k,
50  std::vector<double> _beta);
51 
52  Medium(Problem &pbl,
53  std::string const &name,
54  std::string _medium_name,
55  std::vector<double> _E,
56  std::vector<double> _nu,
57  std::vector<double> _k,
58  std::vector<double> _beta);
59 
60 #ifndef SWIG
61  virtual void write(std::ostream &out) const;
62 #endif
63 };
64 
65 } // namespace katoptron
66 
67 #endif //KATOPTRON_MEDIUM_H
katoptron::Medium::nu
double nu
Definition: wMedium.h:20
katoptron::Medium::E_vector
std::vector< double > E_vector
Definition: wMedium.h:23
katoptron::Medium::k
double k
Definition: wMedium.h:21
KATOPTRON_API
#define KATOPTRON_API
Definition: katoptron.h:13
katoptron::Medium::beta
double beta
Definition: wMedium.h:22
katoptron
katoptron namespace
Definition: Algebraic.h:18
katoptron::Medium::medium_name
std::string medium_name
Definition: wMedium.h:18
katoptron::Medium::k_vector
std::vector< double > k_vector
Definition: wMedium.h:25
katoptron::Medium::E
double E
Definition: wMedium.h:19
katoptron::Problem
Class which is used to specify in Python the thermomechanical to solve.
Definition: wProblem.h:19
katoptron::Medium::beta_vector
std::vector< double > beta_vector
Definition: wMedium.h:26
katoptron.h
katoptron::Medium
Class used to specify in Python the different media.
Definition: wMedium.h:15
katoptron::Medium::nu_vector
std::vector< double > nu_vector
Definition: wMedium.h:24