47 "EvolutionOperator",
"Direct" ,
eDirect),
49 "EvolutionOperator",
"Adjoint" ,
eAdjoint),
59 "EvolutionOperator",
"Nonlinear");
62 "Driver",
"Standard");
68 Loki::NoDestroy > Type;
69 return Type::Instance();
76 : m_comm(pSession->GetComm()),
95 "EqType SolverInfo tag must be defined.");
96 std::string vEquation =
m_session->GetSolverInfo(
"EqType");
97 if (
m_session->DefinesSolverInfo(
"SolverType"))
99 vEquation =
m_session->GetSolverInfo(
"SolverType");
104 "EquationSystem '" + vEquation +
"' is not defined.\n"
105 "Ensure equation name is correct and module is compiled.\n");
111 "EvolutionOperator");
116 m_equ = Array<OneD, EquationSystemSharedPtr>(
m_nequ);
122 m_session->SetTag(
"AdvectiveType",
"Convective");
127 m_session->SetTag(
"AdvectiveType",
"Linearised");
132 m_session->SetTag(
"AdvectiveType",
"Adjoint");
138 m_session->SetTag(
"AdvectiveType",
"Linearised");
143 m_session->SetTag(
"AdvectiveType",
"Adjoint");
148 m_session->SetTag(
"AdvectiveType",
"SkewSymmetric");
158 string LinNSCondFile;
159 vector<string> LinNSFilename;
160 meshfile =
m_session->GetSessionName() +
".gz";
161 LinNSCondFile =
m_session->GetSessionName();
162 LinNSCondFile +=
"_LinNS.xml";
163 LinNSFilename.push_back(meshfile);
164 LinNSFilename.push_back(LinNSCondFile);
166 0, NULL, LinNSFilename,
m_session->GetComm());
174 m_session->SetTag(
"AdvectiveType",
"Convective");
180 ASSERTL0(
false,
"Unrecognised evolution operator.");
186 ASSERTL0(e == -1,
"No such class class defined.");
187 out <<
"An error occurred during driver initialisation." << endl;
193 ASSERTL0(
false,
"This routine is not valid in this class");
199 ASSERTL0(
false,
"This routine is not valid in this class");