*/
template <typename VectorType>
VectorType
- create_test_vector(double value = 0.0);
+ create_test_vector(const double value = 0.0);
template <>
Vector<double>
- create_test_vector(double value)
+ create_test_vector(const double value)
{
Vector<double> vector(3 /*size*/);
vector = value;
template <>
BlockVector<double>
- create_test_vector(double value)
+ create_test_vector(const double value)
{
const int num_blocks = 2;
const int size_block = 3;
template <>
LinearAlgebra::distributed::Vector<double>
- create_test_vector(double value)
+ create_test_vector(const double value)
{
IndexSet local_dofs = create_parallel_index_set();
LinearAlgebra::distributed::Vector<double> vector(local_dofs,
template <>
LinearAlgebra::distributed::BlockVector<double>
- create_test_vector(double value)
+ create_test_vector(const double value)
{
const unsigned n_processes =
Utilities::MPI::n_mpi_processes(MPI_COMM_WORLD);
template <>
TrilinosWrappers::MPI::Vector
- create_test_vector(double value)
+ create_test_vector(const double value)
{
IndexSet local_dofs = create_parallel_index_set();
template <>
TrilinosWrappers::MPI::BlockVector
- create_test_vector(double value)
+ create_test_vector(const double value)
{
const unsigned n_processes =
Utilities::MPI::n_mpi_processes(MPI_COMM_WORLD);
template <>
PETScWrappers::MPI::Vector
- create_test_vector(double value)
+ create_test_vector(const double value)
{
IndexSet local_dofs = create_parallel_index_set();
template <>
PETScWrappers::MPI::BlockVector
- create_test_vector(double value)
+ create_test_vector(const double value)
{
const unsigned n_processes =
Utilities::MPI::n_mpi_processes(MPI_COMM_WORLD);