Bank holding the boundary conditions defined in the input file. More...
#include <bc_bank.h>
Public Member Functions | |
| BCBank (const json &json_input) | |
| Construct a new BCBank object. BCs are built using the json input. | |
| Public Member Functions inherited from hummingbird::BankBase< BC > | |
| const BC & | GetByID (const int id) const |
| Get the object by its ID. | |
| const BC & | GetByName (const std::string &name) const |
| Get the object by its name in the JSON input file. | |
| int | GetIDByName (const std::string &name) const |
| Get the ID of an object by its name in the JSON input file. | |
Private Member Functions | |
| void | Build (const json &json_input) override |
| Builds the BC map and assigns it to the id_object_map_ and name_id_map_ members. | |
Additional Inherited Members | |
| Protected Attributes inherited from hummingbird::BankBase< BC > | |
| std::unordered_map< int, BC > | id_object_map_ |
| ID to object map. | |
| std::unordered_map< std::string, int > | name_id_map_ |
| name to object ID map | |
Bank holding the boundary conditions defined in the input file.
| hummingbird::BCBank::BCBank | ( | const json & | json_input | ) |
Construct a new BCBank object. BCs are built using the json input.
| json_input | JSON object containing input file information |
Definition at line 4 of file bc_bank.cc.
|
overrideprivatevirtual |
Builds the BC map and assigns it to the id_object_map_ and name_id_map_ members.
| json_input | JSON object containing input file information |
Implements hummingbird::BankBase< BC >.
Definition at line 6 of file bc_bank.cc.