|
| SimplePNetCDF () |
|
| ~SimplePNetCDF () |
|
void | begin_indep_data () |
| Begin independent data writing mode (non-collective data writing) More...
|
|
void | close () |
| Close a file. More...
|
|
void | create (std::string fname, int flag=-1) |
| Create a file with an optional flag parameter. More...
|
|
void | create_dim (std::string dimName, MPI_Offset len) |
| Create a dimension with the given size. More...
|
|
void | create_unlim_dim (std::string dimName) |
| Create an unlimited dimension. More...
|
|
template<class T > |
void | create_var (std::string varName, std::vector< std::string > dnames) |
| Create a variable with the given dimension names. More...
|
|
bool | dim_exists (std::string dimName) const |
| Determine if a dimension exists. More...
|
|
void | end_indep_data () |
| End independent data writing mode (non-collective data writing) More...
|
|
void | enddef () |
| End "define mode". More...
|
|
int | get_dim_id (std::string dimName) const |
| Get dimension ID of a dimension name. More...
|
|
MPI_Offset | get_dim_size (std::string dimName) const |
| Get the size of a dimension name. More...
|
|
int | get_var_id (std::string varName) const |
| Get variable ID of a variable name. More...
|
|
void | open (std::string fname) |
| Open a file. More...
|
|
bool | var_exists (std::string varName) const |
| Determine if a variable exists. More...
|
|
template<class T , int rank, int myMem, int myStyle> |
void | write (Array< T, rank, myMem, myStyle > const &arr, std::string varName) |
| Serially write an entire Array at once. More...
|
|
template<class T , int rank, int myMem, int myStyle> |
void | write1 (Array< T, rank, myMem, myStyle > const &arr, std::string varName, int ind, std::string ulDimName="unlim") |
| Serially write one entry of an Array into the unlimited index. More...
|
|
template<class T , typename std::enable_if< std::is_arithmetic< T >::value, int >::type = 0> |
void | write1 (T val, std::string varName, int ind, std::string ulDimName="unlim") |
| Serially write one entry of a scalar into the unlimited index. More...
|
|
template<class T , int rank, int myMem, int myStyle> |
void | write1_all (Array< T, rank, myMem, myStyle > const &arr, std::string varName, int ind, std::vector< MPI_Offset > start_in, std::string ulDimName="unlim") |
| Collectively write one entry of an Array into the unlimited index. More...
|
|
template<class T , int rank, int myMem, int myStyle> |
void | write_all (Array< T, rank, myMem, myStyle > const &arr, std::string varName, std::vector< MPI_Offset > start) |
| Collectively write an entire Array at once. More...
|
|
Simple way to write yakl::Array objects to NetCDF files in parallel.