Serac  0.1
Serac is an implicit thermal strucural mechanics simulation code.
Classes | Namespaces | Functions
base_physics.hpp File Reference

The base interface class for a generic PDE solver. More...

#include <functional>
#include <memory>
#include "mfem.hpp"
#include "axom/sidre.hpp"
#include "serac/physics/boundary_conditions/boundary_condition_manager.hpp"
#include "serac/numerics/equation_solver.hpp"
#include "serac/physics/state/finite_element_state.hpp"
#include "serac/physics/state/finite_element_dual.hpp"
#include "serac/physics/state/state_manager.hpp"
#include "serac/physics/common.hpp"
Include dependency graph for base_physics.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  serac::BasePhysics
 This is the abstract base class for a generic forward solver. More...
 
struct  serac::BasePhysics::ParameterInfo
 The information needed for the physics parameters stored as Finite Element State fields. More...
 

Namespaces

 serac
 Accelerator functionality.
 

Functions

std::string serac::detail::addPrefix (const std::string &prefix, const std::string &target)
 Prepends a prefix to a target string if name is non-empty with an underscore delimiter. More...
 
std::string serac::detail::removePrefix (const std::string &prefix, const std::string &target)
 Removes a prefix and the underscore delimiter from a target string. More...
 

Detailed Description

The base interface class for a generic PDE solver.

Definition in file base_physics.hpp.

Function Documentation

◆ addPrefix()

std::string serac::detail::addPrefix ( const std::string &  prefix,
const std::string &  target 
)

Prepends a prefix to a target string if name is non-empty with an underscore delimiter.

Parameters
[in]prefixThe string to prepend
[in]targetThe string to prepend to

Definition at line 379 of file base_physics.cpp.

◆ removePrefix()

std::string serac::detail::removePrefix ( const std::string &  prefix,
const std::string &  target 
)

Removes a prefix and the underscore delimiter from a target string.

Parameters
[in]prefixThe prefix string to remove
[in]targetThe larger string to remove the prefix from

Definition at line 387 of file base_physics.cpp.