Lightweight adaptor over a std::map relating names of GridFunctions with the name of their time derivatives.
More...
#include <MFEMContainers.h>
|
| using | MapType = std::map< std::string, std::string > |
| |
| using | const_iterator = typename MapType::const_iterator |
| |
Lightweight adaptor over a std::map relating names of GridFunctions with the name of their time derivatives.
Definition at line 178 of file MFEMContainers.h.
◆ const_iterator
◆ MapType
◆ addTimeDerivativeAssociation()
| void Moose::MFEM::TimeDerivativeMap::addTimeDerivativeAssociation |
( |
const std::string & |
var_name, |
|
|
const std::string & |
time_derivative_var_name |
|
) |
| |
|
inline |
◆ createTimeDerivativeName()
| static std::string Moose::MFEM::TimeDerivativeMap::createTimeDerivativeName |
( |
std::string_view |
name | ) |
|
|
inlinestatic |
Definition at line 229 of file MFEMContainers.h.
230 {
231 return std::string("d") + std::string(name) + std::string("_dt");
232 }
◆ getTimeDerivativeName()
| const std::string & Moose::MFEM::TimeDerivativeMap::getTimeDerivativeName |
( |
const std::string & |
var_name | ) |
const |
|
inline |
Definition at line 205 of file MFEMContainers.h.
206 {
209 return it->second;
210 else
211 {
212 mooseError(
"No variable representing the time derivative of ", var_name,
" found.");
214 }
215 }
void mooseError(Args &&... args)
Emit an error message with the given stringified, concatenated args and terminate the application.
const std::string null_str
◆ getTimeIntegralName()
| const std::string & Moose::MFEM::TimeDerivativeMap::getTimeIntegralName |
( |
const std::string & |
time_derivative_var_name | ) |
const |
|
inline |
◆ hasTimeDerivative()
| bool Moose::MFEM::TimeDerivativeMap::hasTimeDerivative |
( |
const std::string & |
var_name | ) |
const |
|
inline |
◆ isTimeDerivative()
| bool Moose::MFEM::TimeDerivativeMap::isTimeDerivative |
( |
const std::string & |
time_derivative_var_name | ) |
const |
|
inline |
◆ _field_map
| MapType Moose::MFEM::TimeDerivativeMap::_field_map |
|
private |
◆ null_str
| const std::string Moose::MFEM::TimeDerivativeMap::null_str |
|
private |
The documentation for this class was generated from the following file: