waves
Basic FE playground
wANSYSSolution.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 WANSYSSOLUTION_H
18 #define WANSYSSOLUTION_H
19 
20 #include "mirrors.h"
21 #include "wObject.h"
22 #include <vector>
23 #include <string>
24 
25 namespace mirrors
26 {
27 
32 class MIRRORS_API ANSYSSolution : public fwk::wObject
33 {
34 public:
35 #ifndef SWIG
36  std::string solution_type;
37  std::string solution_file;
38 #endif
39  std::string solution_name;
40 
41  double diff_abs;
42  double diff_rel;
43 
45  std::string const &solution_type,
46  std::string const &solution_name,
47  std::string const &solution_file);
48 
49 #ifndef SWIG
50  virtual void write(std::ostream &out) const override;
51 #endif
52 };
53 
54 } // namespace mirrors
55 
56 #endif //WANSYSSOLUTION_H
mirrors
this namespace avoids conflicts with similar names in 'waves'
Definition: mirrors.h:37
mirrors::ANSYSSolution
manage ANSYS Solution
Definition: wANSYSSolution.h:32
mirrors::Problem
a class containing the problem parameters
Definition: wProblem.h:36
mirrors::ANSYSSolution::solution_type
std::string solution_type
Definition: wANSYSSolution.h:36
mirrors::ANSYSSolution::diff_rel
double diff_rel
Definition: wANSYSSolution.h:42
mirrors::ANSYSSolution::diff_abs
double diff_abs
Definition: wANSYSSolution.h:41
mirrors.h
mirrors::ANSYSSolution::solution_name
std::string solution_name
Definition: wANSYSSolution.h:39
mirrors::ANSYSSolution::solution_file
std::string solution_file
Definition: wANSYSSolution.h:37
MIRRORS_API
#define MIRRORS_API
Definition: mirrors.h:29