Memosa-FVM
0.2
Main Page
Namespaces
Classes
Files
File List
File Members
MovingMeshBC.h
Go to the documentation of this file.
1
// This file os part of FVM
2
// Copyright (c) 2012 FVM Authors
3
// See LICENSE file for terms.
4
5
#include "
misc.h
"
6
#include "
FloatVarDict.h
"
7
8
9
template
<
class
T>
10
struct
MovingMeshModelOptions
:
public
FloatVarDict
<T>
11
{
12
MovingMeshModelOptions
()
13
{
14
this->
defineVar
(
"timeStep"
,T(0.1));
15
this->
defineVar
(
"underrelaxation"
,T(1.0));
16
17
this->
absTolerance
= 1e-4;
18
this->
nNodeDisplacementSweeps
= 20;
19
this->
relativeTolerance
= 1e-1;
20
this->
timeDiscretizationOrder
= 1;
21
}
22
double
absTolerance
;
23
double
relativeTolerance
;
24
int
nNodeDisplacementSweeps
;
25
int
timeDiscretizationOrder
;
26
27
#ifndef SWIG
28
#endif
29
};
30
misc.h
MovingMeshModelOptions::MovingMeshModelOptions
MovingMeshModelOptions()
Definition:
MovingMeshBC.h:12
MovingMeshModelOptions::timeDiscretizationOrder
int timeDiscretizationOrder
Definition:
MovingMeshBC.h:25
FloatVarDict::defineVar
void defineVar(const string varName, const T defaultValue)
Definition:
FloatVarDict.h:94
FloatVarDict.h
MovingMeshModelOptions::nNodeDisplacementSweeps
int nNodeDisplacementSweeps
Definition:
MovingMeshBC.h:24
MovingMeshModelOptions
Definition:
MovingMeshBC.h:10
MovingMeshModelOptions::relativeTolerance
double relativeTolerance
Definition:
MovingMeshBC.h:23
FloatVarDict
Definition:
FloatVarDict.h:45
MovingMeshModelOptions::absTolerance
double absTolerance
Definition:
MovingMeshBC.h:22
src
modules
fvmbase
MovingMeshBC.h
Generated on Tue Oct 28 2014 17:45:15 for Memosa-FVM by
1.8.6