AnalyticalProcess
The GeMA Analytical Process Plugin
Loading...
Searching...
No Matches
gmpAnalyticalSolverOptions.h
Go to the documentation of this file.
1/************************************************************************
2**
3** Copyright (C) 2014 by Carlos Augusto Teixera Mendes
4** All rights reserved.
5**
6** This file is part of the "GeMA" software. It's use should respect
7** the terms in the license agreement that can be found together
8** with this source code.
9** It is provided AS IS, with NO WARRANTY OF ANY KIND,
10** INCLUDING THE WARRANTY OF DESIGN, MERCHANTABILITY AND FITNESS FOR
11** A PARTICULAR PURPOSE.
12**
13************************************************************************/
14
24#ifndef _GEMA_PLUGIN_ANALYTICAL_SOLVER_OPTIONS_H_
25#define _GEMA_PLUGIN_ANALYTICAL_SOLVER_OPTIONS_H_
26
28
29#include <QString>
30#include <QVariantMap>
31
32class LuaTable;
33
35struct GMP_ANALYTICAL_PROCESS_API_EXPORT GmpAnalyticalSolverOptions
36{
37public:
39
42 {
43 automatic,
44 p,
45 t,
46 p_t,
47 };
48
51 {
52 u,
53 s,
54 e,
55 u_s,
56 u_e,
57 s_e,
58 u_s_e,
59 };
60
61 bool loadFromTable(LuaTable& tab, QString& err );
62
65
69
72
78};
79
80#endif
Declaration of useful configuration definitions for the plugin library.
Basic class for storing the possible options for the analytical solver.
Definition gmpAnalyticalSolverOptions.h:36
QString _displacementAttributeName
The name of the displacement attribute. Default = "u".
Definition gmpAnalyticalSolverOptions.h:75
QString _seaFloorMeshName
The name of a sea floor mesh, defining the sea level. Default = empty.
Definition gmpAnalyticalSolverOptions.h:68
QString _stressAttributeName
The name of the stress attribute. Default = "S".
Definition gmpAnalyticalSolverOptions.h:76
QString _seaLevelDepthUnit
The unit for the mean sea level depth. If empty (default), the same unit as the source mesh is assume...
Definition gmpAnalyticalSolverOptions.h:67
QString _temperatureAttributeName
The name of the temperature attribute. Default = "T".
Definition gmpAnalyticalSolverOptions.h:74
ResultAttributes
Defines the set of output attribtes used by the solver.
Definition gmpAnalyticalSolverOptions.h:51
double _seaLevelDepth
The mean sea level depth. Ignored if a mesh was given.
Definition gmpAnalyticalSolverOptions.h:66
SourceAttributes
Defines the set of input attribtes used by the solver.
Definition gmpAnalyticalSolverOptions.h:42
QString _spatialIndexPluginType
The plugin type used to create a spatial index if a sea floor mesh was given. Default = "MmProcess....
Definition gmpAnalyticalSolverOptions.h:70
QString _strainAttributeName
The name of the strain attribute. Default = "Em" (the same used by the FEM mechanical physics)
Definition gmpAnalyticalSolverOptions.h:77
QString _pressureAttributeName
The name of the pressure attribute. Default = "P".
Definition gmpAnalyticalSolverOptions.h:73
SourceAttributes _srcAttributes
The set of input attributes. Default = automatic.
Definition gmpAnalyticalSolverOptions.h:63
ResultAttributes _resultAttributes
The set of output attributes. Default = u_s.
Definition gmpAnalyticalSolverOptions.h:64
QVariantMap _spatialIndexOptions
Table with additional options that need to be sent to the spatial index plugin.
Definition gmpAnalyticalSolverOptions.h:71