std::function< void(int block_no, double unit_x, double unit_y, double unit_z, double &x, double &y, double &z)> BlockMapFunc
Maps coordinate in a block to a coordinate in the domain.
Definition: P8estDomainGenerator.h:58
Domain< 3 > getCoarserDomain()
Return a new coarser domain.
bool hasCoarserDomain()
return true if there is a coarser domain to be generated.
Domain< 3 > getFinestDomain()
Return the finest domain.
Generates Domain objects form a given p4est object.
Definition: P8estDomainGenerator.h:35
Generates Domain objects.
Definition: DomainGenerator.h:39
P8estDomainGenerator(p8est_t *p8est, const std::array< int, 3 > &ns, int num_ghost_cells, const BlockMapFunc &bmf)
Construct a new P8estDomainGenerator object.