|
core
Shared MPI block decomposition + asynchronous ghost-layer exchange (header-only C++20)
|
#include <array>#include <fstream>#include <ios>#include <stdexcept>#include <string>#include <vector>#include "peclet/core/amr/block_octree.hpp"#include "peclet/core/amr/leaf_field.hpp"#include "peclet/core/common/types.hpp"Go to the source code of this file.
Namespaces | |
| namespace | peclet |
| namespace | peclet::core |
| namespace | peclet::core::amr |
| namespace | peclet::core::amr::detail |
Functions | |
| template<int Dim> | |
| const std::array< std::array< int, Dim >,(1<< Dim)> & | peclet::core::amr::detail::vtkCorners () |
| template<> | |
| const std::array< std::array< int, 3 >, 8 > & | peclet::core::amr::detail::vtkCorners< 3 > () |
| template<> | |
| const std::array< std::array< int, 2 >, 4 > & | peclet::core::amr::detail::vtkCorners< 2 > () |
| template<int Dim, unsigned Bits> | |
| void | peclet::core::amr::writeVtu (const std::string &path, const BlockOctree< Dim, Bits > &t, const AmrGeometry< Dim > &geo, const std::string &name, const std::vector< double > &cellData) |
| Write a BlockOctree (+ world geometry + a per-leaf scalar) as a VTK UnstructuredGrid (.vtu), ASCII, one cell per leaf. | |
| template<int Dim, unsigned Bits> | |
| void | peclet::core::amr::writeVtu (const std::string &path, const BlockOctree< Dim, Bits > &t, const AmrGeometry< Dim > &geo, const std::string &name, const LeafField< double > &field) |
| Convenience overload taking a LeafField<double>. | |