/home/runner/work/DiFfRG_current/DiFfRG_current/DiFfRG/include/DiFfRG/common/linear_algebra.hh Source File#
|
DiFfRG
Discretization Framework for functional Renormalization Group flows
|
linear_algebra.hh
Go to the documentation of this file.
152 template <typename VectorType> using NumberType = typename internal::_NumberType<VectorType>::value;
158 using InverseSparseMatrixType = typename internal::_InverseSparseMatrixType<SparseMatrixType>::value;
167 template <typename VectorType> using BlockVectorType = typename internal::_BlockVectorType<VectorType>::value;
179 concept SupportedVectorType = requires { typename get_type::internal::_NumberType<VectorType>::value; };
192 template <> inline constexpr bool is_distributed_la<dealii::PETScWrappers::MPI::BlockVector> = true;
193 template <> inline constexpr bool is_distributed_la<dealii::PETScWrappers::MPI::SparseMatrix> = true;
194 template <> inline constexpr bool is_distributed_la<dealii::PETScWrappers::MPI::BlockSparseMatrix> = true;
247 std::conditional_t<Mesh::is_parallel, dealii::PETScWrappers::MPI::Vector, dealii::Vector<NumberType>>;
250 std::conditional_t<Mesh::is_parallel, dealii::PETScWrappers::MPI::SparseMatrix, dealii::SparseMatrix<NumberType>>;
257 template <typename Mesh, typename NumberType> using LASparseMatrixFor = dealii::SparseMatrix<NumberType>;
A vector type DiFfRG's timesteppers and assemblers can work with.
Definition linear_algebra.hh:179
typename internal::_NumberType< VectorType >::value NumberType
Definition linear_algebra.hh:152
typename internal::_SparsityPattern< SparseMatrixType >::value SparsityPattern
Definition linear_algebra.hh:155
typename internal::_BlockVectorType< VectorType >::value BlockVectorType
The block-vector type belonging to a given vector type.
Definition linear_algebra.hh:167
typename internal::_InverseSparseMatrixType< SparseMatrixType >::value InverseSparseMatrixType
Definition linear_algebra.hh:158
Definition complex_math.hh:10
constexpr bool is_distributed_la
Whether a linear algebra type distributes its rows across MPI ranks.
Definition linear_algebra.hh:188
dealii::Triangulation< dim > DefaultTriangulation
Definition linear_algebra.hh:221
dealii::SparseMatrix< NumberType > LASparseMatrixFor
Definition linear_algebra.hh:257
dealii::BlockVector< NT > value
Definition linear_algebra.hh:99
dealii::BlockVector< NT > value
Definition linear_algebra.hh:96
Definition linear_algebra.hh:65
dealii::SparseDirectUMFPACK value
Definition linear_algebra.hh:92
dealii::SparseDirectUMFPACK value
Definition linear_algebra.hh:78
Definition linear_algebra.hh:63
NT value
Definition linear_algebra.hh:86
NT value
Definition linear_algebra.hh:72
Definition linear_algebra.hh:59
dealii::BlockSparsityPattern value
Definition linear_algebra.hh:89
dealii::SparsityPattern value
Definition linear_algebra.hh:75
Definition linear_algebra.hh:61
Generated by