waves
Basic FE playground
wMSurface.h
Go to the documentation of this file.
1 /*
2  * Copyright 2022 University of Liège
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  * http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 #ifndef WMSURFACE_H
18 #define WMSURFACE_H
19 
20 #include "mirrors.h"
21 #include "wGroup.h"
22 #include <vector>
23 #include <string>
24 #include <Eigen/Dense>
25 
26 using namespace tbox;
27 
28 namespace mirrors
29 {
30 
35 class MIRRORS_API MSurface : public Group
36 {
37 public:
38  std::string MS_name;
39  std::vector<Node *> nodes;
40 
41  Eigen::Vector3d x0;
42  Eigen::Vector3d x1;
43  Eigen::Vector3d x2;
44 
45  MSurface(Problem &pbl, int no, std::string _MS_name, Eigen::Vector3d _x0, Eigen::Vector3d _x1, Eigen::Vector3d _x2);
46  MSurface(Problem &pbl, std::string const &name, std::string _MS_name, Eigen::Vector3d _x0, Eigen::Vector3d _x1, Eigen::Vector3d _x2);
47 
48 #ifndef SWIG
49  virtual void write(std::ostream &out) const override;
50 #endif
51 };
52 
53 } // namespace mirrors
54 
55 #endif //WMSURFACE_H
mirrors::MSurface::x2
Eigen::Vector3d x2
Definition: wMSurface.h:43
mirrors
this namespace avoids conflicts with similar names in 'waves'
Definition: mirrors.h:37
mirrors::MSurface::x0
Eigen::Vector3d x0
Definition: wMSurface.h:41
mirrors::Problem
a class containing the problem parameters
Definition: wProblem.h:36
mirrors::MSurface::x1
Eigen::Vector3d x1
Definition: wMSurface.h:42
mirrors.h
mirrors::MSurface::nodes
std::vector< Node * > nodes
Definition: wMSurface.h:39
mirrors::MSurface::MS_name
std::string MS_name
Definition: wMSurface.h:38
mirrors::MSurface
manage Mirrors surface
Definition: wMSurface.h:35
MIRRORS_API
#define MIRRORS_API
Definition: mirrors.h:29