0.6.0
Loading...
Searching...
No Matches
ADIOS Schema writer

Provide a class to write .bp files using ADIOS Visualization Schema More...

Data Types

type  mod_adios_schema::t_adios_schema
 Class to write a .bp file using ADIOS Visualization Schema. More...
 

Functions/Subroutines

subroutine mod_adios_schema::notus_adios_initialize (schema, filename, use_single_file)
 Initialize ADIOS.
 
subroutine mod_adios_schema::notus_adios_open (schema, iteration, time)
 Open ADIOS Schema writer.
 
subroutine mod_adios_schema::notus_adios_close (schema)
 Close ADIOS Schema writer.
 
subroutine mod_adios_schema::notus_adios_add_group (schema, label)
 Add a group The writer must be open before any group creation.
 
subroutine mod_adios_schema::notus_adios_define_rectilinear_mesh (schema, label)
 Define a rectilinear mesh A group must be defined before the mesh creation.
 
subroutine mod_adios_schema::notus_adios_define_mof_mesh (schema, mesh_label, phase_id_label, mof_mesh)
 Define a MOF mesh A group must be defined before the mesh creation.
 
subroutine mod_adios_schema::notus_adios_define_scalar_field (schema, label, field)
 Define a scalar field.
 
subroutine mod_adios_schema::notus_adios_define_vector_field (schema, label, field)
 Define a vector field.
 
subroutine mod_adios_schema::notus_adios_define_face_field (schema, label, field)
 Define a face field.
 
subroutine mod_adios_schema::notus_adios_define_field_list (schema, list)
 Define a list of fields.
 
subroutine mod_adios_schema::notus_adios_write_rectilinear_mesh (schema)
 Write a rectilinear mesh.
 
subroutine mod_adios_schema::notus_adios_write_mof_mesh (schema, mof_mesh)
 Write a MOF mesh.
 
subroutine mod_adios_schema::notus_adios_write_scalar_field (schema, label, field)
 Write a scalar field.
 
subroutine mod_adios_schema::notus_adios_write_vector_field (schema, label, field)
 Write a vector field.
 
subroutine mod_adios_schema::notus_adios_write_face_field (schema, label, field)
 Write a face field.
 
subroutine mod_adios_schema::notus_adios_write_field_list (schema, list)
 Write a list of fields.
 
subroutine mod_adios_schema::notus_adios_open_group_write (schema)
 Open a .bp file (internal use)
 
subroutine mod_adios_schema::handle_error (error_id)
 Check error code and stop Notus if an error occurs.
 

Detailed Description

Provide a class to write .bp files using ADIOS Visualization Schema

Function/Subroutine Documentation

◆ handle_error()

subroutine mod_adios_schema::handle_error ( integer, intent(in) error_id)
private

Check error code and stop Notus if an error occurs.

Parameters
[in]error_iderror code

◆ notus_adios_add_group()

subroutine mod_adios_schema::notus_adios_add_group ( class(t_adios_schema), intent(inout) schema,
character(len=*), intent(in) label )
private

Add a group The writer must be open before any group creation.

Parameters
[in,out]schemaADIOS Schema writer
[in]labellabel of the group

◆ notus_adios_close()

subroutine mod_adios_schema::notus_adios_close ( class(t_adios_schema), intent(inout) schema)
private

Close ADIOS Schema writer.

Parameters
[in,out]schemaADIOS Schema writer

◆ notus_adios_define_face_field()

subroutine mod_adios_schema::notus_adios_define_face_field ( class(t_adios_schema), intent(inout) schema,
character(len=*), intent(in) label,
type(t_face_field), intent(in) field )
private

Define a face field.

A rectilinear mesh must be defined before this definition

Parameters
[in,out]schemaADIOS Schema writer
[in]labellabel of the field
[in]fieldface field

◆ notus_adios_define_field_list()

subroutine mod_adios_schema::notus_adios_define_field_list ( class(t_adios_schema), intent(inout) schema,
type(t_field_list), intent(in) list )
private

Define a list of fields.

A rectilinear mesh must be defined before this definition

Parameters
[in,out]schemaADIOS Schema writer
[in]listlist of fields

◆ notus_adios_define_mof_mesh()

subroutine mod_adios_schema::notus_adios_define_mof_mesh ( class(t_adios_schema), intent(inout) schema,
character(len=*), intent(in) mesh_label,
character(len=*), intent(in) phase_id_label,
type(t_mof_visualization_polygon), intent(in) mof_mesh )
private

Define a MOF mesh A group must be defined before the mesh creation.

Warning
Only one mesh per group is allowed
Parameters
[in,out]schemaADIOS Schema writer
[in]mesh_labellabel of the mesh
[in]phase_id_labellabel of the phase_id field
[in]mof_meshMOF quadrangular mesh

◆ notus_adios_define_rectilinear_mesh()

subroutine mod_adios_schema::notus_adios_define_rectilinear_mesh ( class(t_adios_schema), intent(inout) schema,
character(len=*), intent(in) label )
private

Define a rectilinear mesh A group must be defined before the mesh creation.

Warning
Only one mesh per group is allowed
Parameters
[in,out]schemaADIOS Schema writer
[in]labellabel of the mesh

◆ notus_adios_define_scalar_field()

subroutine mod_adios_schema::notus_adios_define_scalar_field ( class(t_adios_schema), intent(inout) schema,
character(len=*), intent(in) label,
double precision, dimension(:,:,:), intent(in) field )
private

Define a scalar field.

A rectilinear mesh must be defined before this definition

Parameters
[in,out]schemaADIOS Schema writer
[in]labellabel of the field
[in]fieldscalar field

◆ notus_adios_define_vector_field()

subroutine mod_adios_schema::notus_adios_define_vector_field ( class(t_adios_schema), intent(inout) schema,
character(len=*), intent(in) label,
double precision, dimension(:,:,:,:), intent(in) field )
private

Define a vector field.

A rectilinear mesh must be defined before this definition

Parameters
[in,out]schemaADIOS Schema writer
[in]labellabel of the field
[in]fieldvector field

◆ notus_adios_initialize()

subroutine mod_adios_schema::notus_adios_initialize ( class(t_adios_schema), intent(inout) schema,
character(len=*), intent(in) filename,
logical, intent(in) use_single_file )

Initialize ADIOS.

Multiple call of this routine have not effect.

Parameters
[in,out]schemaADIOS Schema writer
[in]filenamebase name of the .bp file
[in]use_single_filewrite all the iterations into a single file

◆ notus_adios_open()

subroutine mod_adios_schema::notus_adios_open ( class(t_adios_schema), intent(inout) schema,
integer, intent(in) iteration,
double precision, intent(in) time )
private

Open ADIOS Schema writer.

Parameters
[in,out]schemaADIOS Schema writer
[in]iterationcurrent iteration
[in]timecurrent time

◆ notus_adios_open_group_write()

subroutine mod_adios_schema::notus_adios_open_group_write ( class(t_adios_schema), intent(inout) schema)
private

Open a .bp file (internal use)

Must be called before any adios_write call (internal use only).

Parameters
[in,out]schemaADIOS Schema writer

◆ notus_adios_write_face_field()

subroutine mod_adios_schema::notus_adios_write_face_field ( class(t_adios_schema), intent(inout) schema,
character(len=*), intent(in) label,
type(t_face_field), intent(in) field )
private

Write a face field.

Parameters
[in,out]schemaADIOS Schema writer
[in]labellabel of the field
[in]fieldvector field

◆ notus_adios_write_field_list()

subroutine mod_adios_schema::notus_adios_write_field_list ( class(t_adios_schema), intent(inout) schema,
type(t_field_list), intent(in) list )
private

Write a list of fields.

Parameters
[in,out]schemaADIOS Schema writer
[in]listlist of fields

◆ notus_adios_write_mof_mesh()

subroutine mod_adios_schema::notus_adios_write_mof_mesh ( class(t_adios_schema), intent(inout) schema,
type(t_mof_visualization_polygon), intent(in) mof_mesh )
private

Write a MOF mesh.

Parameters
[in,out]schemaADIOS Schema writer
[in]mof_meshMOF quadrangular mesh

◆ notus_adios_write_rectilinear_mesh()

subroutine mod_adios_schema::notus_adios_write_rectilinear_mesh ( class(t_adios_schema), intent(inout) schema)
private

Write a rectilinear mesh.

Parameters
[in,out]schemaADIOS Schema writer

◆ notus_adios_write_scalar_field()

subroutine mod_adios_schema::notus_adios_write_scalar_field ( class(t_adios_schema), intent(inout) schema,
character(len=*), intent(in) label,
double precision, dimension(:,:,:), intent(in) field )
private

Write a scalar field.

Parameters
[in,out]schemaADIOS Schema writer
[in]labellabel of the field
[in]fieldscalar field

◆ notus_adios_write_vector_field()

subroutine mod_adios_schema::notus_adios_write_vector_field ( class(t_adios_schema), intent(inout) schema,
character(len=*), intent(in) label,
double precision, dimension(:,:,:,:), intent(in) field )
private

Write a vector field.

Parameters
[in,out]schemaADIOS Schema writer
[in]labellabel of the field
[in]fieldvector field