ExtSolverMgr Class Reference

AMR-Wind API: amr_wind::ExtSolverMgr Class Reference
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
Loading...
Searching...
No Matches
amr_wind::ExtSolverMgr Class Reference

#include <ExtSolver.H>

Inheritance diagram for amr_wind::ExtSolverMgr:
[legend]
Collaboration diagram for amr_wind::ExtSolverMgr:
[legend]

Public Member Functions

template<typename T >
T & get ()
 
template<typename T >
const T & get () const
 
- Public Member Functions inherited from amr_wind::CollMgr< ExtSolverMgr, ExtSolver >
 CollMgr ()=default
 
 CollMgr (const CollMgr &)=delete
 
 ~CollMgr ()=default
 
CollMgroperator= (const CollMgr &)=delete
 
ExtSolvercreate (const std::string &key, Args &&... args)
 
TypeVectorobjects ()
 Return a vector of the registered objects.
 
const TypeVectorobjects () const
 
bool contains (const std::string &key) const
 Query if an object exists using the lookup key.
 
ExtSolveroperator() (const std::string &key)
 Return the object corresponding to a lookup key.
 
const ExtSolveroperator() (const std::string &key) const
 
T & operator() (const std::string &key)
 Return object for a lookup key cast into its exact class definition.
 

Additional Inherited Members

- Public Types inherited from amr_wind::CollMgr< ExtSolverMgr, ExtSolver >
using TypePtr
 
using TypeVector
 
- Protected Attributes inherited from amr_wind::CollMgr< ExtSolverMgr, ExtSolver >
TypeVector m_obj_vec
 Collection of objects registered so far.
 
std::unordered_map< std::string, int > m_obj_map
 Key word based lookup.
 

Member Function Documentation

◆ get() [1/2]

template<typename T >
T & amr_wind::ExtSolverMgr::get ( )
inline

◆ get() [2/2]

template<typename T >
const T & amr_wind::ExtSolverMgr::get ( ) const
inline

The documentation for this class was generated from the following file:
  • /home/runner/work/amr-wind/amr-wind/amr-wind/core/ExtSolver.H