|
openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
|
The mesh storage class. It contains both element and vertex data. More...
#include <SF_container.h>
Public Member Functions | |
| meshdata () | |
| construct empty mesh More... | |
| vector< T > & | register_numbering (SF_nbr nbr_type) |
| Register a new numbering to the mesh and return the associated index vector. More... | |
| vector< T > & | get_numbering (SF_nbr nbr_type) |
| Get the vector defining a certain numbering. More... | |
| const vector< T > & | get_numbering (SF_nbr nbr_type) const |
| Get the vector defining a certain numbering. More... | |
| void | localize (SF_nbr nbr_type) |
| Localize the connectivity data w.r.t. a given numbering. More... | |
| void | globalize (SF_nbr nbr_type) |
| Localize the connectivity data w.r.t. a given numbering. More... | |
| void | generate_par_layout () |
| Set up the parallel layout. More... | |
| void | clear_data () |
| Clear the mesh data from memory. More... | |
Public Attributes | |
| size_t | g_numelem |
| global number of elements More... | |
| size_t | l_numelem |
| local number of elements More... | |
| size_t | g_numpts |
| global number of points More... | |
| size_t | l_numpts |
| local number of points More... | |
| MPI_Comm | comm |
| the parallel mesh is defined on a MPI world More... | |
| std::string | name |
| the mesh name More... | |
| vector< T > | con |
| vector< T > | dsp |
| connectivity starting index of each element More... | |
| vector< T > | tag |
| element tag More... | |
| vector< elem_t > | type |
| element type More... | |
| vector< S > | fib |
| fiber direction More... | |
| vector< S > | she |
| sheet direction More... | |
| hashmap::unordered_set< int > | extr_tag |
| the element tags based on which the mesh has been extracted More... | |
| std::map< SF_nbr, vector< T > > | nbr |
| container for different numberings More... | |
| vector< S > | xyz |
| node cooridnates More... | |
| overlapping_layout< T > | pl |
| nodal parallel layout More... | |
| non_overlapping_layout< T > | epl |
| element parallel layout More... | |
The mesh storage class. It contains both element and vertex data.
Definition at line 395 of file SF_container.h.
|
inline |
construct empty mesh
Definition at line 433 of file SF_container.h.
|
inline |
Clear the mesh data from memory.
Definition at line 552 of file SF_container.h.
|
inline |
Set up the parallel layout.
Definition at line 538 of file SF_container.h.
|
inline |
Get the vector defining a certain numbering.
Note: If the requested numbering does not exist, this function will abort with an assertion. This is because a requested but not existent numbering hints a severe error in the logic of the calling code. If you want to check if a numbering exists, use: mesh::nbr.count(SF_nbr type)
| nbr_type | The requested numbering type. |
Definition at line 464 of file SF_container.h.
|
inline |
Get the vector defining a certain numbering.
Note: If the requested numbering does not exist, this function will abort with an assertion. This is because a requested but not existent numbering hints a severe error in the logic of the calling code. If you want to check if a numbering exists, use: mesh::nbr.count(SF_nbr type)
| nbr_type | The requested numbering type. |
Definition at line 482 of file SF_container.h.
|
inline |
Localize the connectivity data w.r.t. a given numbering.
The call expects the connectivity indices to be globalized.
| nbr_type | The numbering. |
Definition at line 525 of file SF_container.h.
|
inline |
Localize the connectivity data w.r.t. a given numbering.
The call expects the connectivity indices to be globalized.
| nbr_type | The numbering. |
Definition at line 496 of file SF_container.h.
|
inline |
Register a new numbering to the mesh and return the associated index vector.
| nbr_type | The type of numbering |
Definition at line 444 of file SF_container.h.
| MPI_Comm SF::meshdata< T, S >::comm |
the parallel mesh is defined on a MPI world
Definition at line 404 of file SF_container.h.
| vector<T> SF::meshdata< T, S >::con |
< connectivity connecting nodes to form elements. after mesh setup in local indexing. use meshdata::globalize / meshdata::localize to change indexing
Definition at line 412 of file SF_container.h.
| vector<T> SF::meshdata< T, S >::dsp |
connectivity starting index of each element
Definition at line 416 of file SF_container.h.
| non_overlapping_layout<T> SF::meshdata< T, S >::epl |
element parallel layout
Definition at line 430 of file SF_container.h.
| hashmap::unordered_set<int> SF::meshdata< T, S >::extr_tag |
the element tags based on which the mesh has been extracted
Definition at line 424 of file SF_container.h.
| vector<S> SF::meshdata< T, S >::fib |
fiber direction
Definition at line 420 of file SF_container.h.
| size_t SF::meshdata< T, S >::g_numelem |
global number of elements
Definition at line 398 of file SF_container.h.
| size_t SF::meshdata< T, S >::g_numpts |
global number of points
Definition at line 400 of file SF_container.h.
| size_t SF::meshdata< T, S >::l_numelem |
local number of elements
Definition at line 399 of file SF_container.h.
| size_t SF::meshdata< T, S >::l_numpts |
local number of points
Definition at line 401 of file SF_container.h.
| std::string SF::meshdata< T, S >::name |
the mesh name
Definition at line 407 of file SF_container.h.
| std::map< SF_nbr, vector<T> > SF::meshdata< T, S >::nbr |
container for different numberings
Definition at line 426 of file SF_container.h.
| overlapping_layout<T> SF::meshdata< T, S >::pl |
nodal parallel layout
Definition at line 429 of file SF_container.h.
| vector<S> SF::meshdata< T, S >::she |
sheet direction
Definition at line 421 of file SF_container.h.
| vector<T> SF::meshdata< T, S >::tag |
element tag
Definition at line 417 of file SF_container.h.
| vector<elem_t> SF::meshdata< T, S >::type |
element type
Definition at line 418 of file SF_container.h.
| vector<S> SF::meshdata< T, S >::xyz |
node cooridnates
Definition at line 427 of file SF_container.h.