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 182 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 233 of file MFEMContainers.h.
234 {
235 return std::string("d") + std::string(name) + std::string("_dt");
236 }
◆ getTimeDerivativeName()
| const std::string & Moose::MFEM::TimeDerivativeMap::getTimeDerivativeName |
( |
const std::string & |
var_name | ) |
const |
|
inline |
Definition at line 209 of file MFEMContainers.h.
210 {
213 return it->second;
214 else
215 {
216 mooseError(
"No variable representing the time derivative of ", var_name,
" found.");
218 }
219 }
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: