Reference documentation for deal.II version 9.2.0
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Functions
SUNDIALS::internal Namespace Reference

Functions

void copy (TrilinosWrappers::MPI::Vector &dst, const N_Vector &src)
 
void copy (N_Vector &dst, const TrilinosWrappers::MPI::Vector &src)
 
void copy (TrilinosWrappers::MPI::BlockVector &dst, const N_Vector &src)
 
void copy (N_Vector &dst, const TrilinosWrappers::MPI::BlockVector &src)
 
void copy (PETScWrappers::MPI::Vector &dst, const N_Vector &src)
 
void copy (N_Vector &dst, const PETScWrappers::MPI::Vector &src)
 
void copy (PETScWrappers::MPI::BlockVector &dst, const N_Vector &src)
 
void copy (N_Vector &dst, const PETScWrappers::MPI::BlockVector &src)
 
void copy (BlockVector< double > &dst, const N_Vector &src)
 
void copy (N_Vector &dst, const BlockVector< double > &src)
 
void copy (Vector< double > &dst, const N_Vector &src)
 
void copy (N_Vector &dst, const Vector< double > &src)
 
std::size_t N_Vector_length (const N_Vector &vec)
 

Function Documentation

◆ copy() [1/12]

void SUNDIALS::internal::copy ( TrilinosWrappers::MPI::Vector dst,
const N_Vector &  src 
)

Definition at line 65 of file copy.cc.

◆ copy() [2/12]

void SUNDIALS::internal::copy ( N_Vector &  dst,
const TrilinosWrappers::MPI::Vector src 
)

Definition at line 78 of file copy.cc.

◆ copy() [3/12]

void SUNDIALS::internal::copy ( TrilinosWrappers::MPI::BlockVector dst,
const N_Vector &  src 
)

Definition at line 90 of file copy.cc.

◆ copy() [4/12]

void SUNDIALS::internal::copy ( N_Vector &  dst,
const TrilinosWrappers::MPI::BlockVector src 
)

Definition at line 103 of file copy.cc.

◆ copy() [5/12]

void SUNDIALS::internal::copy ( PETScWrappers::MPI::Vector dst,
const N_Vector &  src 
)

Definition at line 120 of file copy.cc.

◆ copy() [6/12]

void SUNDIALS::internal::copy ( N_Vector &  dst,
const PETScWrappers::MPI::Vector src 
)

Definition at line 133 of file copy.cc.

◆ copy() [7/12]

void SUNDIALS::internal::copy ( PETScWrappers::MPI::BlockVector dst,
const N_Vector &  src 
)

Definition at line 145 of file copy.cc.

◆ copy() [8/12]

void SUNDIALS::internal::copy ( N_Vector &  dst,
const PETScWrappers::MPI::BlockVector src 
)

Definition at line 158 of file copy.cc.

◆ copy() [9/12]

void SUNDIALS::internal::copy ( BlockVector< double > &  dst,
const N_Vector &  src 
)

Definition at line 175 of file copy.cc.

◆ copy() [10/12]

void SUNDIALS::internal::copy ( N_Vector &  dst,
const BlockVector< double > &  src 
)

Definition at line 186 of file copy.cc.

◆ copy() [11/12]

void SUNDIALS::internal::copy ( Vector< double > &  dst,
const N_Vector &  src 
)

Definition at line 197 of file copy.cc.

◆ copy() [12/12]

void SUNDIALS::internal::copy ( N_Vector &  dst,
const Vector< double > &  src 
)

Definition at line 208 of file copy.cc.

◆ N_Vector_length()

std::size_t SUNDIALS::internal::N_Vector_length ( const N_Vector &  vec)
inline

SUNDIALS provides different macros for getting the local length of a vector for serial and parallel vectors (as well as various parallel vectors that are not yet supported by deal.II). This function provides a generic interface to both and does a (checked) conversion from long int (the type SUNDIALS uses for lengths) to std::size_t.

Definition at line 33 of file copy.cc.