Scrambler
1
|
Provides parsing and unparsing routines for Chombo I/O. These subroutines interface with the packing and scheduling layers. More...
Public Member Functions | |
subroutine, public | IO_ParseRemoteNode (message, node) |
Parses the data elements of a node relevant to the I/O routines. | |
subroutine, public | IO_UnparseRemoteNode (message, node) |
Unparse the data for a single node from the given message. | |
subroutine, public | IO_ParseRemoteGrid (message, Info, finest_level) |
Parses the data elements of a grid relevant to the I/O routines. | |
subroutine, public | IO_UnparseRemoteGrid (message, Info, finest_level) |
Unparse the data for a single grid from the given message. | |
subroutine, public | IO_ParseNodeChildren (message, node) |
Parses the children of the given node. | |
subroutine, public | IO_UnparseNodeChildren (message, child_count, node) |
Retrieves child data from a PackedMessage object and stores it as temporary child nodes within the passed-in node strucure. | |
subroutine, public | IO_SendDataToWorkers (chandle, level, box, child_list, child_count) |
Packs Chombo HDF5 data for a single grid into a message to be sent to a worker processor. | |
subroutine, public | IO_RecvDataFromMaster (level, mGlobal) |
Receives data for a single grid from master during Chombo restart and stores it in the appropriate Info structure. |
Provides parsing and unparsing routines for Chombo I/O. These subroutines interface with the packing and scheduling layers.
Definition at line 34 of file io_parsing.f90.
subroutine, public IO_ParseRemoteNode | ( | TYPE(PackedMessage), pointer | message, |
TYPE(Nodedef), pointer | node | ||
) |
Parses the data elements of a node relevant to the I/O routines.
message | A packed message object to store the node's data. |
node | the Nodedef object to be parsed. |
Definition at line 59 of file io_parsing.f90.
subroutine, public IO_UnparseRemoteNode | ( | TYPE(PackedMessage), pointer | message, |
TYPE(Nodedef), pointer | node | ||
) |
Unparse the data for a single node from the given message.
message | The PackedMessage object from which we will extract data. |
node | the Nodedef object to be unparsed. |
Definition at line 74 of file io_parsing.f90.
subroutine, public IO_ParseRemoteGrid | ( | TYPE(PackedMessage), pointer | message, |
TYPE(InfoDef), pointer | Info, | ||
INTEGER | finest_level | ||
) |
Parses the data elements of a grid relevant to the I/O routines.
message | A packed message object to store the grid's data. |
Info | the InfoDef object to be parsed. |
finest_level | Finest Level |
Definition at line 149 of file io_parsing.f90.
subroutine, public IO_UnparseRemoteGrid | ( | TYPE(PackedMessage), pointer | message, |
TYPE(InfoDef), pointer | Info, | ||
INTEGER | finest_level | ||
) |
Unparse the data for a single grid from the given message.
message | The PackedMessage object from which we will extract data. |
Info | the InfoDef object to be unparsed. |
finest_level | Finest Level |
Definition at line 207 of file io_parsing.f90.
subroutine, public IO_ParseNodeChildren | ( | TYPE(PackedMessage), pointer | message, |
TYPE(Nodedef), pointer | node | ||
) |
Parses the children of the given node.
message | A packed message object to store the node's child data. |
node | the Nodedef object whose children will be parsed. |
Definition at line 271 of file io_parsing.f90.
subroutine, public IO_UnparseNodeChildren | ( | TYPE(PackedMessage), pointer | message, |
INTEGER | child_count, | ||
TYPE(Nodedef), pointer | node | ||
) |
Retrieves child data from a PackedMessage object and stores it as temporary child nodes within the passed-in node strucure.
message | A PackedMessage object from which the routine reads. |
child_count | An integer that will be set to the number of children and returned. |
node | The node that will carry references to the retrieved children. |
Definition at line 299 of file io_parsing.f90.
subroutine, public IO_SendDataToWorkers | ( | TYPE(ChomboHandle), pointer | chandle, |
INTEGER | level, | ||
TYPE(NodeBox), pointer | box, | ||
TYPE(NodeBoxList), pointer | child_list, | ||
INTEGER | child_count | ||
) |
Packs Chombo HDF5 data for a single grid into a message to be sent to a worker processor.
chandle | An active chombo handle. |
sm_group | The PackedMessage object that will be handling this grid's data. |
box | The coordinates of the grid whose data will be packed. |
child_list | A pointer to the Chombo file's list of child boxes for this level. This pointer need not start at the beginning of the list. |
child_count | The number of children associated with the node corresponding to this box. |
Definition at line 337 of file io_parsing.f90.
subroutine, public IO_RecvDataFromMaster | ( | INTEGER | level, |
INTEGER, dimension(3,2) | mGlobal | ||
) |
Receives data for a single grid from master during Chombo restart and stores it in the appropriate Info structure.
message | A PackedMessage object. The level of this message should always be >= -1. |
mGlobal | The global coordinate array being received. |
Definition at line 397 of file io_parsing.f90.