openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
The scatterer registry class. More...
#include <SF_abstract_vector.h>
Public Member Functions | |
template<class T > | |
scattering * | register_permutation (const quadruple< int > spec, const vector< T > &nbr_a, const vector< T > &nbr_b, const size_t gsize_a, const size_t gsize_b, const short dpn) |
Register a permutation scattering. More... | |
template<class T > | |
scattering * | register_scattering (const quadruple< int > spec, const vector< T > &layout_a, const vector< T > &layout_b, const vector< T > &idx_a, const vector< T > &idx_b, const int rank, const int dpn) |
Register a scattering. More... | |
scattering * | get_scattering (const quadruple< int > spec) |
Access an previously registered scattering. More... | |
void | free_scatterings () |
Free the registered scatterings. More... | |
The scatterer registry class.
Scatterings between arbitrary numberings and parallel layouts can be registered for later access.
T | Integer type. |
Definition at line 733 of file SF_abstract_vector.h.
|
inline |
Free the registered scatterings.
Definition at line 892 of file SF_abstract_vector.h.
|
inline |
Access an previously registered scattering.
[in] | spec | Scattering specification, see register routines. |
[out] | use_forward | If the scattering was found, this is true. If only the transposed scattering was found this is false and the returned scattering has to be used transposed. |
Definition at line 878 of file SF_abstract_vector.h.
|
inline |
Register a permutation scattering.
[in] | spec | The spec specifies: v1 = mesh ID, v2 = permutation type, v3 = numbering, v4 = dpn |
[in] | nbr_a | Nodal numbering of "a" side. |
[in] | nbr_b | Nodal numbering of "b" side. |
[in] | gsize_a | Global nodal size of "a" side. |
[in] | gsize_b | Global nodal size of "b" side. |
[in] | dpn | Degrees of freedom per node index. |
Definition at line 753 of file SF_abstract_vector.h.
|
inline |
Register a scattering.
Definition at line 810 of file SF_abstract_vector.h.