/home/runner/work/amr-wind/amr-wind/amr-wind/core/Factory.H Source File
|
AMR-Wind API v0.1.0
CFD solver for wind plant simulations
|
Loading...
Searching...
No Matches
Factory.H
Go to the documentation of this file.
This test case is intended as an evaluation of the momentum advection scheme.
Definition BCInterface.cpp:7
Definition Factory.H:65
static std::unique_ptr< Base > create(const std::string &key, Args... args)
Definition Factory.H:71
std::unordered_map< std::string, CreatorFunc > LookupTable
Definition Factory.H:129
Factory()=default
virtual ~Factory()=default
static void key_exists_or_error(const std::string &key)
Check if the keyword exists in table or print diagnostic message and abort.
Definition Factory.H:133
static LookupTable & table()
Lookup table containing all registered instances.
Definition Factory.H:149
std::unique_ptr< Base >(*)(Args...) CreatorFunc
Definition Factory.H:128
Generated by