|
template<class T > |
adios2::Attribute< T > | define_attribute (adios2::IO &io, std::string name, const T &value, std::string var_name="", std::string separator="/") |
| Safe definition of an attribute. First check if it has already been defined and return it. If not defined create new attribute.
|
|
template<class T > |
adios2::Variable< T > | define_variable (adios2::IO &io, std::string name, const adios2::Dims &shape=adios2::Dims(), const adios2::Dims &start=adios2::Dims(), const adios2::Dims &count=adios2::Dims()) |
| Safe definition of a variable. First check if it has already been defined and return it. If not defined create new variable.
|
|
template<std::floating_point T> |
std::shared_ptr< const mesh::Mesh< T > > | extract_common_mesh (const typename adios2_writer::U< T > &u) |
| Extract common mesh from list of Functions.
|
|
void | initialize_mesh_attributes (adios2::IO &io, mesh::CellType type) |
| Initialize mesh related attributes for the ADIOS2 file used in Fides.
|
|
template<std::floating_point T> |
void | initialize_function_attributes (adios2::IO &io, const typename adios2_writer::U< T > &u) |
| Initialize function related attributes for the ADIOS2 file used in Fides.
|
|
template<typename T , std::floating_point U> |
std::vector< T > | pack_function_data (const fem::Function< T, U > &u) |
| Pack Function data at vertices. The mesh and the function must both be 'P1'.
|
|
template<typename T , std::floating_point U> |
void | write_data (adios2::IO &io, adios2::Engine &engine, const fem::Function< T, U > &u) |
| Write a first order Lagrange function (real or complex) using ADIOS2 in Fides format. Data is padded to be three dimensional if vector and 9 dimensional if tensor.
|
|
template<std::floating_point T> |
void | write_mesh (adios2::IO &io, adios2::Engine &engine, const mesh::Mesh< T > &mesh) |
| Write mesh geometry and connectivity (topology) for Fides.
|
|
ADIOS2-based output writers.