Write current mesh to the SAF database

WriteCurrentMesh is a function defined in hadaptive.c.

Synopsis:

void WriteCurrentMesh(DbInfo_t *dbInfo, int theStep, int numProcs, int myProcNum, CurrentMeshParams_t theMesh, SAF_Field *fieldList, int *fieldListSize)

Formal Arguments:

  • dbInfo: [IN/OUT] database info object
  • theStep: [IN] current step number
  • numProcs: [IN] number of processors
  • myProcNum: [IN] the rank of calling processor
  • theMesh: [IN] current mesh parameters
  • fieldList: [IN/OUT] list of fields we’ll append newly written fields too
  • fieldListSize: [IN/OUT] On input, the current size of the field list. On output, its new size

Description: This function does all the work of writing the current mesh, including its domain-decomposed topology relation, processor subset relations, coordinate field, and pressure field to the SAF database.

See Also: