|
openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Container for a PETSc VecScatter. More...
#include <SF_abstract_vector.h>
Public Member Functions | |
| scattering () | |
| Constructor. More... | |
| ~scattering () | |
| Destructor. More... | |
| template<class T , class S > | |
| void | forward (abstract_vector< T, S > &in, abstract_vector< T, S > &out, bool add=false) |
| Forward scattering. More... | |
| template<class T , class S > | |
| void | backward (abstract_vector< T, S > &in, abstract_vector< T, S > &out, bool add=false) |
| Backward scattering. More... | |
| template<class T , class S > | |
| void | operator() (abstract_vector< T, S > &v, bool fwd) |
| Apply the scattering on a data vector. More... | |
Public Attributes | |
| Vec | b_buff |
| A buffer vector which also defines the parallel layout of the "b" side. More... | |
| VecScatter | vec_sc |
| The scatterer. More... | |
| vector< SF_int > | idx_a |
| vector< SF_int > | idx_b |
Container for a PETSc VecScatter.
A VecScatter redistributes vector data from indexing "a" to indexing "b". Where the two indexings can have different parallel layouts.
Definition at line 692 of file SF_abstract_vector.h.
|
inline |
Constructor.
Definition at line 701 of file SF_abstract_vector.h.
|
inline |
Destructor.
Definition at line 705 of file SF_abstract_vector.h.
|
inline |
Backward scattering.
| in | Scatter from. |
| out | Scatter to. |
Definition at line 729 of file SF_abstract_vector.h.
|
inline |
Forward scattering.
| in | Scatter from. |
| out | Scatter to. |
Definition at line 717 of file SF_abstract_vector.h.
|
inline |
Apply the scattering on a data vector.
| [in,out] | v | The data vector. |
| [in] | fwd | True for forward, false for backward scatting. |
Definition at line 741 of file SF_abstract_vector.h.
| Vec SF::scattering::b_buff |
A buffer vector which also defines the parallel layout of the "b" side.
Definition at line 695 of file SF_abstract_vector.h.
Definition at line 698 of file SF_abstract_vector.h.
Definition at line 698 of file SF_abstract_vector.h.
| VecScatter SF::scattering::vec_sc |
The scatterer.
Definition at line 696 of file SF_abstract_vector.h.