Mallard 0.8.0
Unstructured, GPU accelerated, high-order finite volume CFD solver
Mallard website
Loading...
Searching...
No Matches
common_io.h File Reference

Common IO header file. More...

#include <cstdint>
#include <string>

Go to the source code of this file.

Macros

#define LEN_STEP   6
 

Functions

std::string endianness ()
 Return the endianness of the system for VTU file writing.
 
std::string vtk_float_type ()
 Return the VTK name for the floating point type.
 
uint32_t vtk_local_node (uint32_t n_nodes, uint32_t k)
 Local node of a cell at VTK (and XDMF) position k. Mallard prisms have the (0, 1, 2) normal pointing toward (3, 4, 5); VTK wedges point it away.
 

Detailed Description

Common IO header file.

Author
Matthew Bonanni (mbona.nosp@m.nni0.nosp@m.01@gm.nosp@m.ail..nosp@m.com)
Version
0.1
Date
2023-12-22

Macro Definition Documentation

◆ LEN_STEP

#define LEN_STEP   6

Function Documentation

◆ endianness()

std::string endianness ( )

Return the endianness of the system for VTU file writing.

Returns
std::string

◆ vtk_float_type()

std::string vtk_float_type ( )

Return the VTK name for the floating point type.

Returns
std::string

◆ vtk_local_node()

uint32_t vtk_local_node ( uint32_t  n_nodes,
uint32_t  k 
)

Local node of a cell at VTK (and XDMF) position k. Mallard prisms have the (0, 1, 2) normal pointing toward (3, 4, 5); VTK wedges point it away.