ASPECT
Functions
aspect::internal::ChangeVectorTypes Namespace Reference

Functions

void import (TrilinosWrappers::MPI::Vector &out, const ::LinearAlgebra::ReadWriteVector< double > &rwv, const VectorOperation::values operation)
 
void copy (TrilinosWrappers::MPI::Vector &out, const ::LinearAlgebra::distributed::Vector< double > &in)
 
void copy (::LinearAlgebra::distributed::Vector< double > &out, const TrilinosWrappers::MPI::Vector &in)
 
void copy (TrilinosWrappers::MPI::BlockVector &out, const ::LinearAlgebra::distributed::BlockVector< double > &in)
 
void copy (::LinearAlgebra::distributed::BlockVector< double > &out, const TrilinosWrappers::MPI::BlockVector &in)
 

Detailed Description

Matrix-free operators must use deal.II defined vectors, while the rest of the ASPECT software is based on Trilinos vectors. Here we define functions which copy between the vector types.

Function Documentation

§ import()

void aspect::internal::ChangeVectorTypes::import ( TrilinosWrappers::MPI::Vector &  out,
const ::LinearAlgebra::ReadWriteVector< double > &  rwv,
const VectorOperation::values  operation 
)

§ copy() [1/4]

void aspect::internal::ChangeVectorTypes::copy ( TrilinosWrappers::MPI::Vector &  out,
const ::LinearAlgebra::distributed::Vector< double > &  in 
)

§ copy() [2/4]

void aspect::internal::ChangeVectorTypes::copy ( ::LinearAlgebra::distributed::Vector< double > &  out,
const TrilinosWrappers::MPI::Vector &  in 
)

§ copy() [3/4]

void aspect::internal::ChangeVectorTypes::copy ( TrilinosWrappers::MPI::BlockVector &  out,
const ::LinearAlgebra::distributed::BlockVector< double > &  in 
)

§ copy() [4/4]

void aspect::internal::ChangeVectorTypes::copy ( ::LinearAlgebra::distributed::BlockVector< double > &  out,
const TrilinosWrappers::MPI::BlockVector &  in 
)