SPHinXsys
alpha version
|
Multi-level Meshes with successively double the resolution. More...
#include <base_mesh.h>
Inherits MeshFieldType.
Public Member Functions | |
template<typename... Args> | |
MultilevelMesh (BoundingBox tentative_bounds, Real reference_spacing, size_t total_levels, Args &&...args) | |
StdVec< CoarsestMeshType * > | getMeshLevels () |
void | writeMeshFieldToPlt (std::ofstream &output_file) override |
Protected Attributes | |
size_t | total_levels_ |
StdVec< CoarsestMeshType * > | mesh_levels_ |
Multi-level Meshes with successively double the resolution.
|
inline |
template parameter pack is used with rvalue reference and perfect forwarding to keep the type of arguments when called by another function with template parameter pack too.
all mesh levels aligned at the lower bound of tentative_bounds
|
protected |
level 0 is the coarsest