waves
Basic FE playground
wNeumann.h
Go to the documentation of this file.
1 #ifndef KATOPTRON_NEUMANN_H
2 #define KATOPTRON_NEUMANN_H
3 
4 #include "katoptron.h"
5 #include "wGroup.h"
6 #include <vector>
7 #include <string>
8 
9 namespace katoptron
10 {
11 
16 class KATOPTRON_API Neumann : public tbox::Group
17 {
18 public:
19  std::string const &BC_name;
20  std::vector<tbox::Node *> nodes;
21  std::vector<int> which_dof;
22  std::vector<double> values;
23 
24  Neumann(Problem &pbl,
25  std::string const &name,
26  std::string const &_BC_name,
27  std::vector<int> _which_dof,
28  std::vector<double> _values);
29 
30  Neumann(Problem &pbl,
31  std::string const &name,
32  std::string const &_BC_name,
33  int x,
34  std::vector<double> v_x,
35  int y,
36  std::vector<double> v_y,
37  int z,
38  std::vector<double> v_z,
39  int T,
40  std::vector<double> v_T,
41  size_t ensemble_size);
42 
43 #ifndef SWIG
44  virtual void write(std::ostream &out) const;
45 #endif
46 };
47 
48 } // namespace katoptron
49 
50 #endif //KATOPTRON_NEUMANN_H
KATOPTRON_API
#define KATOPTRON_API
Definition: katoptron.h:13
katoptron
katoptron namespace
Definition: Algebraic.h:18
katoptron::Neumann::values
std::vector< double > values
Definition: wNeumann.h:22
katoptron::Neumann::nodes
std::vector< tbox::Node * > nodes
Definition: wNeumann.h:20
katoptron::Neumann::BC_name
const std::string & BC_name
Definition: wNeumann.h:19
katoptron::Problem
Class which is used to specify in Python the thermomechanical to solve.
Definition: wProblem.h:19
katoptron.h
katoptron::Neumann
Class used to specify in Python the different Neumann boundary conditions (both mechanical and therma...
Definition: wNeumann.h:16
katoptron::Neumann::which_dof
std::vector< int > which_dof
Definition: wNeumann.h:21