Classes | Public Types | Public Member Functions | Static Public Attributes | List of all members
domain::creators::Disk< TargetFrame > Class Template Reference

Create a 2D Domain in the shape of a disk from a square surrounded by four wedges. More...

#include <Disk.hpp>

Classes

struct  InitialGridPoints
 
struct  InitialRefinement
 
struct  InnerRadius
 
struct  OuterRadius
 
struct  UseEquiangularMap
 

Public Types

using options = tmpl::list< InnerRadius, OuterRadius, InitialRefinement, InitialGridPoints, UseEquiangularMap >
 
- Public Types inherited from DomainCreator< 2, TargetFrame >
using creatable_classes = typename DomainCreators_detail::domain_creators< VolumeDim >::template creators< TargetFrame >
 

Public Member Functions

 Disk (typename InnerRadius::type inner_radius, typename OuterRadius::type outer_radius, typename InitialRefinement::type initial_refinement, typename InitialGridPoints::type initial_number_of_grid_points, typename UseEquiangularMap::type use_equiangular_map) noexcept
 
 Disk (const Disk &)=delete
 
 Disk (Disk &&) noexcept=default
 
Diskoperator= (const Disk &)=delete
 
Diskoperator= (Disk &&) noexcept=default
 
Domain< 2, TargetFrame > create_domain () const noexcept override
 
std::vector< std::array< size_t, 2 > > initial_extents () const noexcept override
 Obtain the initial grid extents of the block with the given index.
 
std::vector< std::array< size_t, 2 > > initial_refinement_levels () const noexcept override
 Obtain the initial refinement levels of the blocks.
 
- Public Member Functions inherited from DomainCreator< 2, TargetFrame >
 DomainCreator (const DomainCreator< VolumeDim, TargetFrame > &)=delete
 
 DomainCreator (DomainCreator< VolumeDim, TargetFrame > &&) noexcept=default
 
DomainCreator< VolumeDim, TargetFrame > & operator= (const DomainCreator< VolumeDim, TargetFrame > &)=delete
 
DomainCreator< VolumeDim, TargetFrame > & operator= (DomainCreator< VolumeDim, TargetFrame > &&) noexcept=default
 

Static Public Attributes

static constexpr OptionString help
 

Detailed Description

template<typename TargetFrame>
class domain::creators::Disk< TargetFrame >

Create a 2D Domain in the shape of a disk from a square surrounded by four wedges.

Member Data Documentation

◆ help

template<typename TargetFrame >
constexpr OptionString domain::creators::Disk< TargetFrame >::help
static
Initial value:
{
"Creates a 2D Disk with five Blocks.\n"
"Only one refinement level for both dimensions is currently supported.\n"
"The number of gridpoints in each dimension can be set independently.\n"
"The number of gridpoints along the dimensions of the square is equal\n"
"to the number of gridpoints along the angular dimension of the wedges.\n"
"Equiangular coordinates give better gridpoint spacings in the angular\n"
"direction, while equidistant coordinates give better gridpoint\n"
"spacings in the center block."}

The documentation for this class was generated from the following files: