|
SpECTRE
2021.08.02
|
Create a 3D Domain consisting of eight rotated Blocks. More...
#include <RotatedBricks.hpp>
Classes | |
| struct | BoundaryCondition |
| struct | InitialGridPoints |
| struct | InitialRefinement |
| struct | IsPeriodicIn |
| struct | LowerBound |
| struct | Midpoint |
| struct | UpperBound |
Public Types | |
| using | maps_list = tmpl::list< domain::CoordinateMap< Frame::Logical, Frame::Inertial, CoordinateMaps::ProductOf3Maps< CoordinateMaps::Affine, CoordinateMaps::Affine, CoordinateMaps::Affine > >, domain::CoordinateMap< Frame::Logical, Frame::Inertial, CoordinateMaps::DiscreteRotation< 3 >, CoordinateMaps::ProductOf3Maps< CoordinateMaps::Affine, CoordinateMaps::Affine, CoordinateMaps::Affine > > > |
| using | common_options = tmpl::list< LowerBound, Midpoint, UpperBound, InitialRefinement, InitialGridPoints > |
| using | options_periodic = tmpl::list< IsPeriodicIn > |
| template<typename Metavariables > | |
| using | options = tmpl::append< common_options, tmpl::conditional_t< domain::BoundaryConditions::has_boundary_conditions_base_v< typename Metavariables::system >, tmpl::list< BoundaryCondition< domain::BoundaryConditions::get_boundary_conditions_base< typename Metavariables::system > > >, options_periodic > > |
Public Member Functions | |
| RotatedBricks (typename LowerBound::type lower_xyz, typename Midpoint::type midpoint_xyz, typename UpperBound::type upper_xyz, typename InitialRefinement::type initial_refinement_level_xyz, typename InitialGridPoints::type initial_number_of_grid_points_in_xyz, typename IsPeriodicIn::type is_periodic_in) noexcept | |
| RotatedBricks (typename LowerBound::type lower_xyz, typename Midpoint::type midpoint_xyz, typename UpperBound::type upper_xyz, typename InitialRefinement::type initial_refinement_level_xyz, typename InitialGridPoints::type initial_number_of_grid_points_in_xyz, std::unique_ptr< domain::BoundaryConditions::BoundaryCondition > boundary_condition, const Options::Context &context={}) | |
| RotatedBricks (const RotatedBricks &)=delete | |
| RotatedBricks (RotatedBricks &&) noexcept=default | |
| RotatedBricks & | operator= (const RotatedBricks &)=delete |
| RotatedBricks & | operator= (RotatedBricks &&) noexcept=default |
| Domain< 3 > | create_domain () const noexcept override |
| std::vector< std::array< size_t, 3 > > | initial_extents () const noexcept override |
| Obtain the initial grid extents of the Elements in each block. More... | |
| std::vector< std::array< size_t, 3 > > | initial_refinement_levels () const noexcept override |
| Obtain the initial refinement levels of the blocks. More... | |
Public Member Functions inherited from DomainCreator< 3 > | |
| DomainCreator (const DomainCreator< VolumeDim > &)=delete | |
| DomainCreator (DomainCreator< VolumeDim > &&) noexcept=default | |
| DomainCreator< VolumeDim > & | operator= (const DomainCreator< VolumeDim > &)=delete |
| DomainCreator< VolumeDim > & | operator= (DomainCreator< VolumeDim > &&) noexcept=default |
| virtual auto | functions_of_time () const noexcept -> std::unordered_map< std::string, std::unique_ptr< domain::FunctionsOfTime::FunctionOfTime > > |
| Retrieve the functions of time used for moving meshes. More... | |
Static Public Attributes | |
| static constexpr Options::String | help |
Create a 3D Domain consisting of eight rotated Blocks.
The orientations of the blocks are described in two different ways:
For reference, this is the notation used:
For reference, D, L, and B ("down", "left", and "back") are the inverse rotation to the aforementioned ones, respectively. Note: Whereas Rubik's cube rotations rotate a layer of the 3x3 puzzle cube, we are adopting the notation to apply to rotations of the cube itself.
This DomainCreator is useful for testing code that deals with unaligned blocks.
|
overridevirtualnoexcept |
Implements DomainCreator< 3 >.
|
overridevirtualnoexcept |
Obtain the initial grid extents of the Elements in each block.
Implements DomainCreator< 3 >.
|
overridevirtualnoexcept |
Obtain the initial refinement levels of the blocks.
Implements DomainCreator< 3 >.
|
staticconstexpr |