]> https://gitweb.dealii.org/ - dealii.git/commitdiff
add defaults 10323/head
authorTimo Heister <timo.heister@gmail.com>
Sat, 23 May 2020 01:21:42 +0000 (21:21 -0400)
committerTimo Heister <timo.heister@gmail.com>
Sat, 23 May 2020 01:21:42 +0000 (21:21 -0400)
include/deal.II/lac/block_linear_operator.h

index 12efd400a48303b05298c2b66a9e4011c2a53c02..67b2a3463c453ebfa855bab9682de11463b0c2de 100644 (file)
@@ -699,9 +699,10 @@ block_operator(
  *
  * @ingroup LAOperators
  */
-template <typename Range,
-          typename Domain,
-          typename BlockPayload,
+template <typename Range  = BlockVector<double>,
+          typename Domain = Range,
+          typename BlockPayload =
+            internal::BlockLinearOperatorImplementation::EmptyBlockPayload<>,
           typename BlockMatrixType>
 BlockLinearOperator<Range, Domain, BlockPayload>
 block_diagonal_operator(const BlockMatrixType &block_matrix)
@@ -869,7 +870,10 @@ block_diagonal_operator(
  *
  * @ingroup LAOperators
  */
-template <typename Range, typename Domain, typename BlockPayload>
+template <typename Range  = BlockVector<double>,
+          typename Domain = Range,
+          typename BlockPayload =
+            internal::BlockLinearOperatorImplementation::EmptyBlockPayload<>>
 LinearOperator<Domain, Range, typename BlockPayload::BlockType>
 block_forward_substitution(
   const BlockLinearOperator<Range, Domain, BlockPayload> &block_operator,
@@ -984,7 +988,10 @@ block_forward_substitution(
  *
  * @ingroup LAOperators
  */
-template <typename Range, typename Domain, typename BlockPayload>
+template <typename Range  = BlockVector<double>,
+          typename Domain = Range,
+          typename BlockPayload =
+            internal::BlockLinearOperatorImplementation::EmptyBlockPayload<>>
 LinearOperator<Domain, Range, typename BlockPayload::BlockType>
 block_back_substitution(
   const BlockLinearOperator<Range, Domain, BlockPayload> &block_operator,

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.