PhysicsMgr Class Reference
|
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
amr_wind::PhysicsMgr Class Reference
#include <Physics.H>
Inheritance diagram for amr_wind::PhysicsMgr:
Collaboration diagram for amr_wind::PhysicsMgr:
Public Member Functions | |
| template<typename T> | |
| T & | get () |
| Return a concrete physics instance. | |
| template<typename T> | |
| const T & | get () const |
| Return a concrete physics instance. | |
| Public Member Functions inherited from amr_wind::CollMgr< PhysicsMgr, Physics > | |
| CollMgr ()=default | |
| ~CollMgr ()=default | |
| CollMgr & | operator= (const CollMgr &)=delete |
| Physics & | create (const std::string &key, Args &&... args) |
| TypeVector & | objects () |
| Return a vector of the registered objects. | |
| bool | contains (const std::string &key) const |
| Query if an object exists using the lookup key. | |
| Physics & | operator() (const std::string &key) |
| Return the object corresponding to a lookup key. | |
Additional Inherited Members | |
| Public Types inherited from amr_wind::CollMgr< PhysicsMgr, Physics > | |
| using | TypePtr |
| using | TypeVector |
| Protected Attributes inherited from amr_wind::CollMgr< PhysicsMgr, Physics > | |
| TypeVector | m_obj_vec |
| Collection of objects registered so far. | |
| std::unordered_map< std::string, int > | m_obj_map |
| Key word based lookup. | |
Detailed Description
A collection of Physics models instances that are active during a simulation
Member Function Documentation
◆ get() [1/2]
template<typename T>
|
inline |
Return a concrete physics instance.
◆ get() [2/2]
template<typename T>
|
inline |
Return a concrete physics instance.
The documentation for this class was generated from the following file:
- /home/runner/work/amr-wind/amr-wind/amr-wind/core/Physics.H
Generated by