21 #ifndef FUB_SAMRAI_GRIDDING_ALGORITHM_HPP
22 #define FUB_SAMRAI_GRIDDING_ALGORITHM_HPP
34 #include <SAMRAI/mesh/GriddingAlgorithm.h>
42 using PatchLevel = std::shared_ptr<SAMRAI::hier::PatchLevel>;
61 std::swap(*
this, tmp);
71 std::ptrdiff_t initial_cycle = 0);
96 std::shared_ptr<SAMRAI::mesh::GriddingAlgorithm>
algorithm_{};
This is a polymorphic value type that wraps any BoundaryCondition object.
Definition: AnyBoundaryCondition.hpp:55
This class is a polymoprhic value type which stores components to initialize a gridding algorithm dur...
Definition: AnyInitialData.hpp:53
This class is a polymorphic value type that stores objects which satisfies the TaggingMethod<Gridding...
Definition: AnyTaggingMethod.hpp:48
Definition: SAMRAI/GriddingAlgorithm.hpp:53
const AnyInitialData & GetInitialData() const noexcept
AnyInitialData initial_data_
Definition: SAMRAI/GriddingAlgorithm.hpp:90
std::shared_ptr< SAMRAI::xfer::RefineAlgorithm > refine_data_algorithm_
Definition: SAMRAI/GriddingAlgorithm.hpp:95
const AnyTaggingMethod & GetTaggingMethod() const noexcept
GriddingAlgorithm(GriddingAlgorithm &&ph)=default
AnyBoundaryCondition boundary_condition_
Definition: SAMRAI/GriddingAlgorithm.hpp:92
const AnyBoundaryCondition & GetBoundaryCondition() const noexcept
GriddingAlgorithm(PatchHierarchy hier, AnyInitialData initial_data, AnyTaggingMethod tagging, std::vector< int > tag_buffer)
GriddingAlgorithm(const GriddingAlgorithm &ga)
const std::vector< int > & GetTagBuffer() const noexcept
void RegridAllFinerLevels(int level_num)
std::shared_ptr< SAMRAI::mesh::GriddingAlgorithm > algorithm_
Definition: SAMRAI/GriddingAlgorithm.hpp:96
GriddingAlgorithm & operator=(const GriddingAlgorithm &ga)
Definition: SAMRAI/GriddingAlgorithm.hpp:59
GriddingAlgorithm & operator=(GriddingAlgorithm &&ph)=default
std::ptrdiff_t GetCycles() const noexcept
AnyTaggingMethod tagging_method_
Definition: SAMRAI/GriddingAlgorithm.hpp:91
std::vector< int > tag_buffer_
Definition: SAMRAI/GriddingAlgorithm.hpp:94
Duration GetTimePoint() const noexcept
PatchHierarchy hierarchy_
Definition: SAMRAI/GriddingAlgorithm.hpp:89
const PatchHierarchy & GetPatchHierarchy() const noexcept
void InitializeHierarchy(Duration initial_time=Duration(), std::ptrdiff_t initial_cycle=0)
Definition: SAMRAI/PatchHierarchy.hpp:69
The fub namespace.
Definition: AnyBoundaryCondition.hpp:31
std::chrono::duration< double > Duration
Definition: Duration.hpp:31
int TagDataHandle
Definition: SAMRAI/GriddingAlgorithm.hpp:43
std::shared_ptr< SAMRAI::hier::PatchLevel > PatchLevel
Definition: SAMRAI/GriddingAlgorithm.hpp:42
SAMRAI::hier::Patch & DataReference
Definition: SAMRAI/GriddingAlgorithm.hpp:44