|
BISICLES AMR ice sheet model
0.9
|
Functions | |
| void | BStoUS (UnstructuredData &a_usData, const Vector< LevelData< FArrayBox > *> &a_bsData, const Vector< int > &a_ratio, bool a_validOnly) |
| populate a UnstructuredData from a Vector<LevelData<FArrayBox>*> More... | |
| void | USToBS (Vector< LevelData< FArrayBox > *> &a_bsdata, const UnstructuredData &a_usData) |
| build block structed data from valid data More... | |
| int | defineCFDimension (int a_ncID, size_t a_len, const std::string &a_name) |
| int | defineCFVar (int a_ncID, int a_nDim, int *a_dimID, nc_type a_type, const std::string &a_name, const std::string &a_unit, const std::string &a_stdName, const std::string &a_longName) |
| void | readCFVar (int a_ncID, const std::string &a_name, Vector< int > &a_data) |
| void | readCFVar (int a_ncID, int a_varID, Vector< int > &a_data) |
| void | readCFVar (int a_ncID, const std::string &a_name, Vector< Real > &a_data) |
| void | readCFVar (int a_ncID, int a_varID, Vector< Real > &a_data) |
| void | writeCFVar (int a_ncID, const std::string &a_name, const Vector< int > &a_data) |
| void | writeCFVar (int a_ncID, const std::string &a_name, const Vector< Real > &a_data) |
| void | writeCF (const std::string &, const UnstructuredData &, const Vector< std::string > &, const std::string &, const Transformation &) |
| write UnstructuredData to a NetCDF-CF file More... | |
| void | readCF (UnstructuredData &, Vector< std::string > &, const std::string &) |
| read UnstructuredData from a NetCDF-CF file More... | |
| void UnstructuredIO::BStoUS | ( | UnstructuredData & | a_usData, |
| const Vector< LevelData< FArrayBox > *> & | a_bsData, | ||
| const Vector< int > & | a_ratio, | ||
| bool | a_validOnly | ||
| ) |
populate a UnstructuredData from a Vector<LevelData<FArrayBox>*>
References UnstructuredData::append(), and UnstructuredData::iv().
| int UnstructuredIO::defineCFDimension | ( | int | a_ncID, |
| size_t | a_len, | ||
| const std::string & | a_name | ||
| ) |
References defineCFVar().
Referenced by writeCF().
| int UnstructuredIO::defineCFVar | ( | int | a_ncID, |
| int | a_nDim, | ||
| int * | a_dimID, | ||
| nc_type | a_type, | ||
| const std::string & | a_name, | ||
| const std::string & | a_unit, | ||
| const std::string & | a_stdName, | ||
| const std::string & | a_longName | ||
| ) |
References readCFVar().
Referenced by defineCFDimension(), and writeCF().
| void UnstructuredIO::readCF | ( | UnstructuredData & | a_usData, |
| Vector< std::string > & | a_names, | ||
| const std::string & | a_file | ||
| ) |
read UnstructuredData from a NetCDF-CF file
read unstructureddata from a NetCDF-CF compliant file along with the mesh data needed to reconstruct a Chombo AMR hierarchy from it
References FieldNames::CFLookup(), UnstructuredData::define(), UnstructuredData::dx(), UnstructuredData::field(), UnstructuredData::iv(), UnstructuredData::level(), UnstructuredData::levelBoxSet(), UnstructuredData::nCell(), UnstructuredData::nLevel(), UnstructuredData::ratio(), readCFVar(), UnstructuredData::resize(), and UnstructuredData::time().
Referenced by CFtoAMR().
| void UnstructuredIO::readCFVar | ( | int | a_ncID, |
| const std::string & | a_name, | ||
| Vector< int > & | a_data | ||
| ) |
Referenced by defineCFVar(), readCF(), and readCFVar().
| void UnstructuredIO::readCFVar | ( | int | a_ncID, |
| int | a_varID, | ||
| Vector< int > & | a_data | ||
| ) |
References readCFVar().
| void UnstructuredIO::readCFVar | ( | int | a_ncID, |
| const std::string & | a_name, | ||
| Vector< Real > & | a_data | ||
| ) |
References readCFVar().
| void UnstructuredIO::readCFVar | ( | int | a_ncID, |
| int | a_varID, | ||
| Vector< Real > & | a_data | ||
| ) |
References writeCFVar().
| void UnstructuredIO::USToBS | ( | Vector< LevelData< FArrayBox > *> & | a_bsdata, |
| const UnstructuredData & | a_usData | ||
| ) |
build block structed data from valid data
References BStoUS(), UnstructuredData::domain(), UnstructuredData::field(), UnstructuredData::iv(), UnstructuredData::level(), UnstructuredData::levelBoxSet(), UnstructuredData::nCell(), UnstructuredData::nComp(), UnstructuredData::nLevel(), and UnstructuredData::ratio().
Referenced by CFtoAMR(), and UnstructuredData::computeNodeCoord().
| void UnstructuredIO::writeCF | ( | const std::string & | a_file, |
| const UnstructuredData & | a_usData, | ||
| const Vector< std::string > & | a_names, | ||
| const std::string & | a_created, | ||
| const Transformation & | a_latlonTransformation | ||
| ) |
write UnstructuredData to a NetCDF-CF file
write unstructured data to a NetCDF-CF compliant file, along with the mesh data needed to reconstruct a Chombo AMR hierarchy from it
References FieldNames::CFLookup(), UnstructuredData::computeNodeCoord(), defineCFDimension(), defineCFVar(), UnstructuredData::domain(), UnstructuredData::dx(), UnstructuredData::field(), UnstructuredData::iv(), UnstructuredData::level(), UnstructuredData::levelBoxSet(), UnstructuredData::nCell(), UnstructuredData::nComp(), UnstructuredData::nLevel(), UnstructuredData::ratio(), Transformation::transform(), writeCFVar(), and UnstructuredData::x().
Referenced by AMRtoCF().
| void UnstructuredIO::writeCFVar | ( | int | a_ncID, |
| const std::string & | a_name, | ||
| const Vector< int > & | a_data | ||
| ) |
Referenced by readCFVar(), and writeCF().
| void UnstructuredIO::writeCFVar | ( | int | a_ncID, |
| const std::string & | a_name, | ||
| const Vector< Real > & | a_data | ||
| ) |
1.8.13