Class to manage the system on which we solve, i.e. fe spaces, grids, etc. This class is a System for CG systems.
More...
template<typename ModelOrComponents_, typename Mesh_, typename NumberType_ = double, typename VectorType_ = LAVectorFor<Mesh_, NumberType_>, typename SparseMatrixType_ = LASparseMatrixFor<Mesh_, NumberType_>>
class DiFfRG::CG::Discretization< ModelOrComponents_, Mesh_, NumberType_, VectorType_, SparseMatrixType_ >
Class to manage the system on which we solve, i.e. fe spaces, grids, etc. This class is a System for CG systems.
- Template Parameters
-
| Model_ | The Model class used for the Simulation |
template<typename ModelOrComponents_ , typename Mesh_ , typename NumberType_ = double, typename VectorType_ = LAVectorFor<Mesh_, NumberType_>, typename SparseMatrixType_ = LASparseMatrixFor<Mesh_, NumberType_>>
The model this discretization belongs to, or void if it was built from a bare descriptor.
template<typename ModelOrComponents_ , typename Mesh_ , typename NumberType_ = double, typename VectorType_ = LAVectorFor<Mesh_, NumberType_>, typename SparseMatrixType_ = LASparseMatrixFor<Mesh_, NumberType_>>
| MPI_Comm DiFfRG::CG::Discretization< ModelOrComponents_, Mesh_, NumberType_, VectorType_, SparseMatrixType_ >::get_communicator |
( |
| ) |
const |
|
inline |
MPI_COMM_SELF on a serial mesh, so callers never have to branch on the build type.
template<typename ModelOrComponents_ , typename Mesh_ , typename NumberType_ = double, typename VectorType_ = LAVectorFor<Mesh_, NumberType_>, typename SparseMatrixType_ = LASparseMatrixFor<Mesh_, NumberType_>>
| const dealii::IndexSet & DiFfRG::CG::Discretization< ModelOrComponents_, Mesh_, NumberType_, VectorType_, SparseMatrixType_ >::get_locally_owned_dofs |
( |
| ) |
const |
|
inline |
The dof rows this rank owns. Complete on a serial mesh.
template<typename ModelOrComponents_ , typename Mesh_ , typename NumberType_ = double, typename VectorType_ = LAVectorFor<Mesh_, NumberType_>, typename SparseMatrixType_ = LASparseMatrixFor<Mesh_, NumberType_>>
| const dealii::IndexSet & DiFfRG::CG::Discretization< ModelOrComponents_, Mesh_, NumberType_, VectorType_, SparseMatrixType_ >::get_locally_relevant_dofs |
( |
| ) |
const |
|
inline |
The dof rows this rank can read. See ParallelDoFs::make_ghost_set for why this is everything at the replicated-mesh rung rather than the one-ring relevant set.
template<typename ModelOrComponents_ , typename Mesh_ , typename NumberType_ = double, typename VectorType_ = LAVectorFor<Mesh_, NumberType_>, typename SparseMatrixType_ = LASparseMatrixFor<Mesh_, NumberType_>>
Get the support point for a given dof.
- Parameters
-
- Returns
- const dealii::Point<dim>& The support point for the given dof.
template<typename ModelOrComponents_ , typename Mesh_ , typename NumberType_ = double, typename VectorType_ = LAVectorFor<Mesh_, NumberType_>, typename SparseMatrixType_ = LASparseMatrixFor<Mesh_, NumberType_>>
| const auto & DiFfRG::CG::Discretization< ModelOrComponents_, Mesh_, NumberType_, VectorType_, SparseMatrixType_ >::get_support_points |
( |
| ) |
const |
|
inline |
Get the support points for all dofs.
- Returns
- const std::vector<Point<dim>>& The support points for all dofs.