Scrambler  1
IOParsing Module Reference

Provides parsing and unparsing routines for Chombo I/O. These subroutines interface with the packing and scheduling layers. More...

List of all members.

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.

Detailed Description

Provides parsing and unparsing routines for Chombo I/O. These subroutines interface with the packing and scheduling layers.

Author:
Brandon D. Shroyer
Date:
2-15-2011

Definition at line 34 of file io_parsing.f90.


Member Function/Subroutine Documentation

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.

Parameters:
messageA packed message object to store the node's data.
nodethe 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.

Parameters:
messageThe PackedMessage object from which we will extract data.
nodethe 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.

Parameters:
messageA packed message object to store the grid's data.
Infothe InfoDef object to be parsed.
finest_levelFinest 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.

Parameters:
messageThe PackedMessage object from which we will extract data.
Infothe InfoDef object to be unparsed.
finest_levelFinest 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.

Parameters:
messageA packed message object to store the node's child data.
nodethe 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.

Parameters:
messageA PackedMessage object from which the routine reads.
child_countAn integer that will be set to the number of children and returned.
nodeThe 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.

Parameters:
chandleAn active chombo handle.
sm_groupThe PackedMessage object that will be handling this grid's data.
boxThe coordinates of the grid whose data will be packed.
child_listA 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_countThe 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.

Parameters:
messageA PackedMessage object. The level of this message should always be >= -1.
mGlobalThe global coordinate array being received.

Definition at line 397 of file io_parsing.f90.


The documentation for this module was generated from the following file:
 All Classes Files Functions Variables