#include <absorber.hpp>
Definition at line 73 of file absorber.hpp.
◆ CreateFrom() [1/2]
AbsorberPtr AbsorberFactory::CreateFrom |
( |
YAML::Node const & |
my, |
|
|
std::string |
band_name |
|
) |
| |
|
static |
Create an absorber from YAML node.
- Parameters
-
[in] | my | YAML node containing the current absorber |
[in] | band_name | name of the radiation band |
Definition at line 44 of file absorber_factory.cpp.
◆ CreateFrom() [2/2]
AbsorberContainer AbsorberFactory::CreateFrom |
( |
std::vector< std::string > const & |
names, |
|
|
std::string |
band_name, |
|
|
YAML::Node const & |
rad |
|
) |
| |
|
static |
Create absorbers from YAML node.
- Parameters
-
[in] | names | names of absorbers |
[in] | band_name | name of the radiation band |
[in] | rad | YAML node containing the radiation input file |
Definition at line 21 of file absorber_factory.cpp.
◆ createAbsorberPartial()
AbsorberPtr AbsorberFactory::createAbsorberPartial |
( |
std::string |
name, |
|
|
std::string |
type |
|
) |
| |
|
staticprotected |
Only create an absorber based on its name and class.
- Parameters
-
[in] | name | name of the absorber |
[in] | type | class identifier of the absorber |
Definition at line 84 of file absorber_factory.cpp.
◆ search_path
std::string AbsorberFactory::search_path |
The documentation for this class was generated from the following files: