ASPECT
Functions
aspect::internal::ChangeVectorTypes Namespace Reference

Functions

void import (aspect::LinearAlgebra::Vector &out, const ::LinearAlgebra::ReadWriteVector< double > &rwv, const VectorOperation::values operation)
 
void copy (aspect::LinearAlgebra::Vector &out, const ::LinearAlgebra::distributed::Vector< double > &in)
 
void copy (::LinearAlgebra::distributed::Vector< double > &out, const aspect::LinearAlgebra::Vector &in)
 
void copy (aspect::LinearAlgebra::BlockVector &out, const ::LinearAlgebra::distributed::BlockVector< double > &in)
 
void copy (::LinearAlgebra::distributed::BlockVector< double > &out, const aspect::LinearAlgebra::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 ( aspect::LinearAlgebra::Vector out,
const ::LinearAlgebra::ReadWriteVector< double > &  rwv,
const VectorOperation::values  operation 
)

§ copy() [1/4]

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

§ copy() [2/4]

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

§ copy() [3/4]

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

§ copy() [4/4]

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