26#ifndef dftefeTriangulationDealiiParallel_h
27#define dftefeTriangulationDealiiParallel_h
32#include <deal.II/distributed/tria.h>
37 template <
unsigned int dim>
50 const std::vector<unsigned int> &subdivisions,
51 const std::vector<utils::Point> &domainVectors,
52 const std::vector<bool> & isPeriodicFlags)
override;
55 const std::vector<utils::Point> &vertices)
override;
82 std::vector<size_type>
100 std::vector<utils::Point>
106 const dealii::parallel::distributed::Triangulation<dim> &
119 const std::vector<utils::Point> &domainVectors);
An abstract class for the triangulation class. The derived class specialises this class to dealii and...
Definition: TriangulationBase.h:17
std::vector< std::shared_ptr< TriangulationCellBase > >::const_iterator const_TriangulationCellIterator
Definition: TriangulationBase.h:23
std::vector< std::shared_ptr< TriangulationCellBase > >::iterator TriangulationCellIterator
Definition: TriangulationBase.h:21
Definition: TriangulationDealiiParallel.h:39
void shiftTriangulation(const utils::Point &origin) override
Definition: TriangulationDealiiParallel.t.cpp:159
const dealii::parallel::distributed::Triangulation< dim > & returnDealiiTria() const
Definition: TriangulationDealiiParallel.t.cpp:412
void writeToVtkFile(std::ostream &out) const override
Definition: TriangulationDealiiParallel.t.cpp:397
void executeCoarseningAndRefinement() override
Definition: TriangulationDealiiParallel.t.cpp:246
TriangulationBase::TriangulationCellIterator endLocal() override
Definition: TriangulationDealiiParallel.t.cpp:354
std::vector< bool > getPeriodicFlags() const override
Definition: TriangulationDealiiParallel.t.cpp:382
bool isFinalized
Definition: TriangulationDealiiParallel.h:123
void createSingleCellTriangulation(const std::vector< utils::Point > &vertices) override
Definition: TriangulationDealiiParallel.t.cpp:137
unsigned int nLocallyOwnedCells() const override
Definition: TriangulationDealiiParallel.t.cpp:257
unsigned int getDim() const override
Definition: TriangulationDealiiParallel.t.cpp:375
double d_minElemLength
Definition: TriangulationDealiiParallel.h:129
std::vector< size_type > getBoundaryIds() const override
Definition: TriangulationDealiiParallel.t.cpp:283
void clearUserFlags() override
Definition: TriangulationDealiiParallel.t.cpp:235
std::vector< utils::Point > getDomainVectors() const override
Definition: TriangulationDealiiParallel.t.cpp:405
~TriangulationDealiiParallel()
Definition: TriangulationDealiiParallel.t.cpp:26
bool isInitialized
Definition: TriangulationDealiiParallel.h:122
size_type nLocalCells() const override
Definition: TriangulationDealiiParallel.t.cpp:273
const MPI_Comm & d_mpiDomainCommunicator
Definition: TriangulationDealiiParallel.h:130
size_type nGlobalCells() const override
Definition: TriangulationDealiiParallel.t.cpp:265
double d_maxElemLength
Definition: TriangulationDealiiParallel.h:128
std::vector< utils::Point > d_domainVectors
Definition: TriangulationDealiiParallel.h:127
void finalizeTriangulationConstruction() override
Definition: TriangulationDealiiParallel.t.cpp:49
std::vector< bool > d_isPeriodicFlags
Definition: TriangulationDealiiParallel.h:126
double minElementLength() const override
Definition: TriangulationDealiiParallel.t.cpp:323
void saveRefineFlags(std::vector< bool > &v) const override
Definition: TriangulationDealiiParallel.t.cpp:389
TriangulationBase::TriangulationCellIterator beginLocal() override
Definition: TriangulationDealiiParallel.t.cpp:347
void initializeTriangulationConstruction() override
Definition: TriangulationDealiiParallel.t.cpp:33
void createUniformParallelepiped(const std::vector< unsigned int > &subdivisions, const std::vector< utils::Point > &domainVectors, const std::vector< bool > &isPeriodicFlags) override
Definition: TriangulationDealiiParallel.t.cpp:103
double maxElementLength() const override
Definition: TriangulationDealiiParallel.t.cpp:299
dealii::parallel::distributed::Triangulation< dim > d_triangulationDealii
Definition: TriangulationDealiiParallel.h:124
void markPeriodicFaces(const std::vector< bool > &isPeriodicFlags, const std::vector< utils::Point > &domainVectors)
Definition: TriangulationDealiiParallel.t.cpp:175
void refineGlobal(const unsigned int times=1) override
Definition: TriangulationDealiiParallel.t.cpp:211
void coarsenGlobal(const unsigned int times=1) override
Definition: TriangulationDealiiParallel.t.cpp:223
std::vector< std::shared_ptr< TriangulationCellBase > > d_triaVectorCell
Definition: TriangulationDealiiParallel.h:125
Definition: PointImpl.h:13
dealii includes
Definition: AtomFieldDataSpherical.cpp:31
unsigned int size_type
Definition: TypeConfig.h:8