Skip to content
Snippets Groups Projects
Commit d12ac46e authored by Stefan Girke's avatar Stefan Girke
Browse files

no default value for femhowto.endTime

parent 03907334
No related branches found
No related tags found
No related merge requests found
......@@ -59,7 +59,7 @@ public:
BaseType () ,
center_( 0.5 ),
startTime_( ParameterType::getValue<double>("femhowto.startTime",0.0) ),
endTime_( ParameterType::getValue<double>("femhowto.endTime") ),
endTime_( ParameterType::template getValue<double>("femhowto.endTime") ),
epsilon_( ParameterType::getValue<double>("femhowto.epsilon", 0.0 ) )
{
myName = "DeformationalFlow";
......
......@@ -216,7 +216,7 @@ public:
ofs <<"," <<velocity_[2];
ofs <<")";
ofs << ", End time: " << ParameterType::getValue<double>("femhowto.endTime");
ofs << ", End time: " << ParameterType::template getValue<double>("femhowto.endTime");
return ofs.str();
}
......
......@@ -42,7 +42,7 @@ public:
BaseType () ,
velocity_( 0 ),
startTime_( ParameterType::getValue<double>("femhowto.startTime",0.0) ),
epsilon_( ParameterType::getValue<double>("femhowto.epsilon") )
epsilon_( ParameterType::template getValue<double>("femhowto.epsilon") )
{ /*@LST0E@*/
if ( (dimRange != 1) || (dimDomain != 2) )
{
......@@ -135,7 +135,7 @@ public:
ofs << "Problem: " << myName
<< ", Epsilon: " << epsilon_
<< ", End time: " << ParameterType::getValue<double>("femhowto.endTime");
<< ", End time: " << ParameterType::template getValue<double>("femhowto.endTime");
return ofs.str();
}
......
......@@ -143,7 +143,7 @@ public:
ofs << "Problem: " << myName_
<< ", Epsilon: " << epsilon_ ;
ofs << ", End time: " << ParameterType::getValue<double>("femhowto.endTime");
ofs << ", End time: " << ParameterType::template getValue<double>("femhowto.endTime");
return ofs.str();
}
......
......@@ -116,7 +116,7 @@ public:
ofs << "Problem: " << myName_
<< ", Epsilon: " << epsilon_ ;
ofs << ", End time: " << ParameterType::getValue<double>("femhowto.endTime");
ofs << ", End time: " << ParameterType::template getValue<double>("femhowto.endTime");
return ofs.str();
}
......
......@@ -287,7 +287,7 @@ public:
Ulr[5] = 0.1;
//ParameterType::get("euler.riemanndata", Ulr, Ulr );
T = ParameterType::getValue("femhowto.endTime", T);
T = ParameterType::template getValue<double>("femhowto.endTime"/*, T*/);
ParameterType::get("femhowto.startTime", startTime, startTime );
flag = ParameterType::getValue("euler.problemflag", flag);
}
......@@ -459,7 +459,7 @@ public:
Ulr[2] = 0.4;
Ulr[5] = 0.4;
T = ParameterType::getValue( "femhowto.endTime", T );
T = ParameterType::template getValue<double>( "femhowto.endTime"/*, T*/ );
ParameterType::get( "femhowto.startTime", startTime, startTime );
}
......
......@@ -39,11 +39,11 @@ class NSSmoothSolution : public EvolutionProblemInterface<
NSSmoothSolution() : ThermodynamicsType(),
myName_( "NSSmoothSolution" ),
omegaGNS_( ParameterType::getValue< double >( "omegaGNS" ) ),
kGNS_( ParameterType::getValue< double >( "kGNS" ) ),
gammaGNS_( ParameterType::getValue< double >( "gammaGNS" ) ),
endTime_ ( ParameterType::getValue<double>( "femhowto.endTime" )),
mu_( ParameterType :: getValue< double >( "mu" )),
omegaGNS_( ParameterType::template getValue< double >( "omegaGNS" ) ),
kGNS_( ParameterType::template getValue< double >( "kGNS" ) ),
gammaGNS_( ParameterType::template getValue< double >( "gammaGNS" ) ),
endTime_ ( ParameterType::template getValue<double>( "femhowto.endTime" )),
mu_( ParameterType::template getValue< double >( "mu" )),
//k_ ( c_pd() * Pr_inv() * mu_),
k_ ( 2.0 ),
alpha_( 1.0 ),
......
......@@ -48,11 +48,11 @@ class NSWaves : public EvolutionProblemInterface<
NSWaves() : ThermodynamicsType(),
myName_( "NSWaves" ),
omegaGNS_( ParameterType::getValue< double >( "omegaGNS" ) ),
kGNS_( ParameterType::getValue< double >( "kGNS" ) ),
gammaGNS_( ParameterType::getValue< double >( "gammaGNS" ) ),
endTime_ ( ParameterType::getValue<double>( "femhowto.endTime" )),
mu_( ParameterType :: getValue< double >( "mu" )),
omegaGNS_( ParameterType::template getValue< double >( "omegaGNS" ) ),
kGNS_( ParameterType::template getValue< double >( "kGNS" ) ),
gammaGNS_( ParameterType::template getValue< double >( "gammaGNS" ) ),
endTime_ ( ParameterType::template getValue<double>( "femhowto.endTime" )),
mu_( ParameterType::template getValue< double >( "mu" )),
k_ ( c_pd() * Pr_inv() * mu_),
A_( init( true ) ),
B_( init( false ) )
......
......@@ -30,8 +30,8 @@ class Thermodynamics
typedef Fem::Parameter ParameterType ;
Thermodynamics() :
Re_( ParameterType::getValue< double >( "Re" ) ),
Pr_( ParameterType::getValue< double >( "Pr" ) ),
Re_( ParameterType::template getValue< double >( "Re" ) ),
Pr_( ParameterType::template getValue< double >( "Pr" ) ),
g_( ParameterType::getValue< double >( "g", 9.81 ) ),
p0_(ParameterType::getValue< double >( "p0", 100000. )),
p0Star_( ParameterType::getValue< double >( "p0Star", 610.7 )),
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment