openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
Interface to SlimFem. More...
#include <map>
#include "fem_types.h"
#include "basics.h"
#include "openCARP_p.h"
#include "openCARP_d.h"
#include "SF_base.h"
Go to the source code of this file.
Namespaces | |
opencarp | |
opencarp::user_globals | |
Macros | |
#define | CARP_PARAMS |
#define | ALG_TO_NODAL (num_msh+5) |
Scatter algebraic to nodal. More... | |
#define | PETSC_TO_CANONICAL (num_msh+6) |
Permute algebraic data from PETSC to canonical ordering. More... | |
#define | ELEM_PETSC_TO_CANONICAL (num_msh+7) |
Permute algebraic element data from PETSC to canonical ordering. More... | |
#define | PHYSREG_INTRA_ELEC 0 |
#define | PHYSREG_EXTRA_ELEC 1 |
#define | PHYSREG_EIKONAL 2 |
#define | PHYSREG_MECH 3 |
#define | PHYSREG_FLUID 4 |
#define | PHYSREG_NUM_PHYSICS 5 |
Typedefs | |
typedef SF::meshdata< mesh_int_t, mesh_real_t > | opencarp::sf_mesh |
typedef SF::abstract_vector< SF_int, SF_real > | opencarp::sf_vec |
typedef SF::abstract_matrix< SF_int, SF_real > | opencarp::sf_mat |
typedef SF::abstract_linear_solver< SF_int, SF_real > | opencarp::sf_sol |
Enumerations | |
enum | opencarp::mesh_t { opencarp::intra_elec_msh = 0, opencarp::extra_elec_msh, opencarp::eikonal_msh, opencarp::elasticity_msh, opencarp::fluid_msh, opencarp::reference_msh, opencarp::phie_recv_msh, opencarp::unset_msh, opencarp::num_msh } |
The enum identifying the different meshes we might want to load. More... | |
Functions | |
sf_mesh & | opencarp::get_mesh (const mesh_t gt) |
Get a mesh by specifying the gridID. More... | |
const char * | opencarp::get_mesh_type_name (mesh_t t) |
get a char* to the name of a mesh type More... | |
bool | opencarp::mesh_is_registered (const mesh_t gt) |
check wheter a SF mesh is set More... | |
SF::scattering * | opencarp::register_scattering (const int from, const int to, const SF::SF_nbr nbr, const int dpn) |
Register a scattering between to grids, or between algebraic and nodal representation of data on the same grid. More... | |
SF::scattering * | opencarp::register_scattering (const int from, const int to, const int dpn) |
SF::scattering * | opencarp::register_permutation (const int mesh_id, const int perm_id, const int dpn) |
Register a permutation between two orderings for a mesh. More... | |
SF::scattering * | opencarp::get_scattering (const int from, const int to, const SF::SF_nbr nbr, const int dpn) |
Get a scattering from the global scatter registry. More... | |
SF::scattering * | opencarp::get_scattering (const int from, const int to, const int dpn) |
bool | opencarp::have_scattering (const int from, const int to, const SF::SF_nbr nbr, const int dpn) |
bool | opencarp::have_scattering (const int from, const int to, const int dpn) |
bool | opencarp::have_permutation (const int mesh_id, const int perm_id, const int dpn) |
SF::scattering * | opencarp::get_permutation (const int mesh_id, const int perm_id, const int dpn) |
Get the PETSC to canonical permutation scattering for a given mesh and number of dpn. More... | |
#define ALG_TO_NODAL (num_msh+5) |
Scatter algebraic to nodal.
Definition at line 72 of file sf_interface.h.
#define CARP_PARAMS |
Definition at line 37 of file sf_interface.h.
#define ELEM_PETSC_TO_CANONICAL (num_msh+7) |
Permute algebraic element data from PETSC to canonical ordering.
Definition at line 76 of file sf_interface.h.
#define PETSC_TO_CANONICAL (num_msh+6) |
Permute algebraic data from PETSC to canonical ordering.
Definition at line 74 of file sf_interface.h.
#define PHYSREG_EIKONAL 2 |
Definition at line 81 of file sf_interface.h.
#define PHYSREG_EXTRA_ELEC 1 |
Definition at line 80 of file sf_interface.h.
#define PHYSREG_FLUID 4 |
Definition at line 83 of file sf_interface.h.
#define PHYSREG_INTRA_ELEC 0 |
Definition at line 79 of file sf_interface.h.
#define PHYSREG_MECH 3 |
Definition at line 82 of file sf_interface.h.
#define PHYSREG_NUM_PHYSICS 5 |
Definition at line 84 of file sf_interface.h.