37#if BITPIT_ENABLE_MPI==1
41#include "bitpit_volcartesian.hpp"
43using namespace bitpit;
45int main(
int argc,
char *argv[]) {
47 std::cout <<
"Creating a 2D Cartesian patch" <<
"\n";
49#if BITPIT_ENABLE_MPI==1
50 MPI_Init(&argc,&argv);
53 std::array<double, 3> origin = {{0., 0., 0.}};
62 }
catch (
const std::exception &exception) {
67#if BITPIT_ENABLE_MPI==1
std::vector< adaption::Info > update(bool trackAdaption=true, bool squeezeStorage=false)
VTKUnstructuredGrid & getVTK()
void write(VTKWriteMode mode=VTKWriteMode::DEFAULT)
void setName(const std::string &)
The VolCartesian defines a Cartesian patch.
Logger & cout(log::Level defaultSeverity, log::Visibility defaultVisibility)