|
openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Redistributes vector data from indexing "a" to indexing "b". More...
#include <SF_abstract_vector.h>
Public Member Functions | |
| 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 | |
| vector< SF_int > | idx_a |
| the d.o.f. indices of the two sides, which the backends build their scatters from More... | |
| vector< SF_int > | idx_b |
| std::shared_ptr< void > | backend_data |
Redistributes vector data from indexing "a" to indexing "b".
The two indexings can have different parallel layouts.
Definition at line 677 of file SF_abstract_vector.h.
|
inline |
Backward scattering.
| in | Scatter from. |
| out | Scatter to. |
Definition at line 707 of file SF_abstract_vector.h.
|
inline |
Forward scattering.
| in | Scatter from. |
| out | Scatter to. |
Definition at line 695 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 719 of file SF_abstract_vector.h.
| std::shared_ptr<void> SF::scattering::backend_data |
Data a backend derives from idx_a and idx_b, i.e. the PETSc VecScatter or the Ginkgo scatter matrices. It is freed with the scattering, so a later scattering never finds stale data.
Definition at line 686 of file SF_abstract_vector.h.
the d.o.f. indices of the two sides, which the backends build their scatters from
Definition at line 681 of file SF_abstract_vector.h.
Definition at line 681 of file SF_abstract_vector.h.