|
ERF
Energy Research and Forecasting: An Atmospheric Modeling Code
|
CSV reader of the face material library (rank-0 read, broadcast). More...
#include "ERF_IBSEBMaterials.H"#include <AMReX.H>#include <AMReX_ParallelDescriptor.H>#include <fstream>#include <sstream>#include <set>#include <cstring>#include <algorithm>
Functions | |
| Vector< IBSEBMaterial > | read_ibseb_materials (const std::string &file) |
CSV reader of the face material library (rank-0 read, broadcast).
| Vector<IBSEBMaterial> read_ibseb_materials | ( | const std::string & | file | ) |
Read the material CSV on the I/O rank and broadcast it. Aborts on a missing file, a header that does not match the schema, a duplicate id, or a value outside its physical range.
Referenced by IBFaceSet::assign_materials().
