20template <MInt nDim,
class SysEqn>
23template <MInt nDim,
class SysEqn>
52 void insertDataHeader(
char* data, uint64_t& memsize, uint64_t& memsizeGlobal, uint64_t& offset);
53 void updateDataOffsets(uint64_t memsize, uint64_t& memsizeGlobal, uint64_t& offset, uint64_t& oldMemsizeGlobal);
61 template <
typename u
int_t = u
int32_t>
63 const MString fileName,
const MString geomFileName,
const MInt noSolverSpecificVars = 0,
66 const MInt noUserVars = 0,
This class is a ScratchSpace.
virtual MInt domainId() const
Return the domainId (rank)
MPI_Comm mpiComm() const
Return the MPI communicator used by this solver.
virtual MInt noDomains() const
void insertDataHeader(char *data, uint64_t &memsize, uint64_t &memsizeGlobal, uint64_t &offset)
The zeroth domain stores the header for an uncompressed vtu file appended data array specifying its n...
void writeVtkXmlOutput(const MChar *fileName)
Copy of parallel single-file VTU output using MPI I/O.
static constexpr MInt m_noDirs
Collector< FvBndryCell< nDim, SysEqn > > * m_bndryCells
void writeVtuOutputParallel(const MString fileName, const MString geomFileName, const MInt noSolverSpecificVars=0, const MFloatScratchSpace &solverSpecificVars=MFloatScratchSpace(1, "writeVtuOutputParallel", "defaultParameter1"), const MInt noUserVars=0, const MFloatScratchSpace &userVars=MFloatScratchSpace(1, "writeVtuOutputParallel", "defaultParameter2"))
MInt writeVtuArrayParallel(MPI_File &, void *, MPI_Offset, MPI_Offset, MPI_Offset)
FvCartesianSolverXD< nDim, SysEqn > * m_solver
Collector< PointBasedCell< nDim > > * m_extractedCells
Collector< CartesianGridPoint< nDim > > * m_gridPoints
MBool initializeVtkXmlOutput(const MChar *, MString, MInt, MBool, MBool)
void updateDataOffsets(uint64_t memsize, uint64_t &memsizeGlobal, uint64_t &offset, uint64_t &oldMemsizeGlobal)
Recomputes global offsets and data size given the local memsize.
List< MInt > * m_bndryCellIds
uint64_t vtuAssembleFaceStream(std::vector< T > *&, std::vector< T > *&, uint64_t &, ScratchSpace< MInt > &, MInt &, const MBool)
MInt estimateMemorySizeSolverwise(uint64_t, ScratchSpace< uint64_t > &, uint64_t)
FvCell
FV cell Property Labels.
std::basic_string< char > MString
ScratchSpace< MFloat > MFloatScratchSpace