4#ifndef HUMMINGBIRD_PHYSICS_MATERIAL_BANK_H_
5#define HUMMINGBIRD_PHYSICS_MATERIAL_BANK_H_
7#include <nlohmann/json.hpp>
9#include <unordered_map>
47 void Build(
const json& json_input);
Base class for banks that store objects of type T by integer ID and look them up by the name given in...
void CheckMaterials()
Check that all materials in id_object_map_ have physically valid cross sections.
MaterialBank(const json &json_input)
Construct a new Material Bank object. Material structs are built using the json input.
void Build(const json &json_input)
Builds the material structs and assigns them to the id_material_map_ and name_id_map_ members.
void from_json(const json &j, Material &material)
Get the Material information from the json input.
Defines a monoenergetic, constant-properties material.