AluGridCartesianIndexMapper.hpp
Go to the documentation of this file.
60 class GlobalIndexDataHandle : public Dune::CommDataHandleIF<GlobalIndexDataHandle<GridView>, int>
221 void cartesianCoordinate(const int compressedElementIndex, std::array<int, dimension>& coords) const
237 throw std::invalid_argument("cartesianCoordinate not implemented for dimension " + std::to_string(dimension));
241 void cartesianCoordinateLevel(const int compressedElementIndex, std::array<int, dimension>& coords, int level) const
GridView gridView_ Definition: AluGridCartesianIndexMapper.hpp:165 void gather(MessageBufferImp &buff, const EntityType &element) const loop over all internal data handlers and call gather for given entity Definition: AluGridCartesianIndexMapper.hpp:113 void finalize() Definition: AluGridCartesianIndexMapper.hpp:152 std::size_t size(const EntityType &) const loop over all internal data handlers and return sum of data size of given entity Definition: AluGridCartesianIndexMapper.hpp:136 GlobalIndexContainer globalIndex_ Definition: AluGridCartesianIndexMapper.hpp:166 void scatter(MessageBufferImp &buff, const EntityType &element, std::size_t) loop over all internal data handlers and call scatter for given entity Definition: AluGridCartesianIndexMapper.hpp:122 bool fixedsize(int, int) const Definition: AluGridCartesianIndexMapper.hpp:107 GlobalIndexDataHandle(const GlobalIndexDataHandle &other)=delete GlobalIndexDataHandle(const GridView &gridView, std::vector< int > &cartesianIndex) Definition: AluGridCartesianIndexMapper.hpp:87 std::vector< int > & cartesianIndex_ Definition: AluGridCartesianIndexMapper.hpp:167 void initialize() Definition: AluGridCartesianIndexMapper.hpp:141 ~GlobalIndexDataHandle() Definition: AluGridCartesianIndexMapper.hpp:101 bool contains(int, int codim) const Definition: AluGridCartesianIndexMapper.hpp:104 int cartesianSize() const return total number of cells in the logical Cartesian grid Definition: AluGridCartesianIndexMapper.hpp:189 std::unique_ptr< GlobalIndexDataHandle< GridView > > dataHandle(const GridView &gridView) Definition: AluGridCartesianIndexMapper.hpp:250 CartesianIndexMapper(const Grid &grid, const std::array< int, dimension > &cartDims, const std::vector< int > &cartesianIndex) constructor taking grid Definition: AluGridCartesianIndexMapper.hpp:175 const Grid & grid_ Definition: AluGridCartesianIndexMapper.hpp:266 const std::array< int, dimension > cartesianDimensions_ Definition: AluGridCartesianIndexMapper.hpp:267 const std::array< int, dimension > & cartesianDimensions() const return Cartesian dimensions, i.e. number of cells in each direction Definition: AluGridCartesianIndexMapper.hpp:185 Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming, Dune::ALUGridMPIComm > Grid Definition: AluGridCartesianIndexMapper.hpp:53 Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::cartesianIndex int cartesianIndex(const std::array< int, dimension > &coords) const return index of the cells in the logical Cartesian grid Definition: AluGridCartesianIndexMapper.hpp:208 void cartesianCoordinateLevel(const int compressedElementIndex, std::array< int, dimension > &coords, int level) const Only for unifying calls with CartesianIndexMapper<CpGrid> where levels are relevant. Definition: AluGridCartesianIndexMapper.hpp:241 int compressedLevelZeroSize() const return number of cells in the active grid. Only for unifying calls with CpGrid and PolyhedralGrid spe... Definition: AluGridCartesianIndexMapper.hpp:197 void cartesianCoordinate(const int compressedElementIndex, std::array< int, dimension > &coords) const return Cartesian coordinate, i.e. IJK, for a given cell Definition: AluGridCartesianIndexMapper.hpp:221 Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::cartesianSize_ const int cartesianSize_ Definition: AluGridCartesianIndexMapper.hpp:269 int computeCartesianSize() const Definition: AluGridCartesianIndexMapper.hpp:258 Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::cartesianIndex int cartesianIndex(const int compressedElementIndex) const return index of the cells in the logical Cartesian grid Definition: AluGridCartesianIndexMapper.hpp:201 std::vector< int > cartesianIndex_ Definition: AluGridCartesianIndexMapper.hpp:268 Dune::CartesianIndexMapper< Dune::ALUGrid< 3, 3, Dune::cube, Dune::nonconforming > >::compressedSize int compressedSize() const return number of cells in the active grid Definition: AluGridCartesianIndexMapper.hpp:193 Definition: CollectDataOnIORank.hpp:49 Definition: fvbaseprimaryvariables.hh:141 std::string to_string(const ConvergenceReport::ReservoirFailure::Type t) |