39 #include <lifev/level_set/solver/LevelSetData.hpp> 66 M_time.reset (
new time_Type ( dataFile, section +
"/time_discretization" ) );
69 if ( !M_timeAdvance.get() )
71 M_timeAdvance.reset (
new timeAdvance_Type ( dataFile, section +
"/time_discretization" ) );
74 std::string stabName = dataFile ( (section +
"/stabilization").data(),
"none");
76 std::string ipName = dataFile ( (section +
"/ip/treatment").data(),
"implicit");
78 M_IPCoef = dataFile ( (section +
"/ip/coefficient").data(), 0.0);
85 output <<
" Time data : " << std::endl;
86 M_time->showMe ( output );
87 M_timeAdvance->showMe ( output );
89 output <<
" Stabilization : ";
92 output <<
"none" << std::endl;
96 output <<
"ip" << std::endl;
99 output <<
" IP Treatment : ";
102 output <<
"implicit" << std::endl;
106 output <<
"semi-implicit" << std::endl;
110 output <<
"explicit" << std::endl;
113 output <<
" IP coefficient : " << M_IPCoef << std::endl;
123 if (stab.compare (
"ip") == 0)
129 ASSERT ( stab.compare (
"none") == 0,
" Unknown stabilization! ");
138 if (treat.compare (
"implicit") == 0)
142 else if (treat.compare (
"semi-implicit") == 0)
148 ASSERT ( treat.compare (
"explicit") == 0,
" Unknown IP treatment! ");
Completly explicit, not very usefull but available.
Semi-implicit, best choice for faster computations.
void showMe(std::ostream &out=std::cout) const
ShowMe method.
Fully implicit stabilization (standard procedure)
timeAdvancePtr_Type M_timeAdvance
stabilization_type M_stabilization
DataLevelSet()
Empty Constructor.
void updateInverseJacobian(const UInt &iQuadPt)
IPTreatment_type M_IPTreatment
The IP stabiilzation will be used.
void setStabilization(const std::string &stab)
Set the stabilization type.
void setup(const GetPot &dataFile, const std::string §ion="level-set")
Fill the DataLevelSet with the informations of the GetPot object.
No stabilization will be added.
void setIPTreatment(const std::string &treat)
Set the treatment for the IP stabilization.
dataLevelSet - Container for the data for the level set solver