|
OpenMEEG
|
Geometry contains the electrophysiological model Vertices, meshes and domains are stored in this geometry. More...
#include <geometry.h>
Classes | |
| struct | MeshPair |
Public Types | |
| typedef std::vector< MeshPair > | MeshPairs |
| typedef std::vector< const Domain * > | DomainsReference |
| typedef std::vector< std::vector< const Mesh * > > | MeshParts |
| typedef std::vector< std::pair< std::string, std::string > > | MeshList |
Public Member Functions | |
| Geometry () | |
| Constructors. | |
| Geometry (const unsigned n) | |
| Geometry (const std::string &geomFileName, const bool OLD_ORDERING=false) | |
| Geometry (const std::string &geomFileName, const std::string &condFileName, const bool OLD_ORDERING=false) | |
| Geometry (const char *geomFileName, const bool OLD_ORDERING=false) | |
| Geometry (const char *geomFileName, const char *condFileName, const bool OLD_ORDERING=false) | |
| void | info (const bool verbose=false) const |
| Print information on the geometry. | |
| bool | has_conductivities () const |
| bool | selfCheck () const |
| the geometry meshes intersect each other | |
| bool | check (const Mesh &m) const |
| check if m intersect geometry meshes | |
| bool | check_inner (const Matrix &m) const |
| check if dipoles are outside of geometry meshes | |
| void | check_geometry_is_nested () |
| bool | is_nested () const |
| Vertices & | vertices () |
| Return the list of vertices involved in the geometry. | |
| const Vertices & | vertices () const |
| unsigned | add_vertex (const Vertex &V) |
| Add a vertex. | |
| Mesh & | add_mesh (const std::string &name="") |
| IndexMap | add_vertices (const Vertices &vs) |
| Meshes & | meshes () |
| Return the list of meshes involved in the geometry. | |
| const Meshes & | meshes () const |
| const MeshPairs & | communicating_mesh_pairs () const |
| Mesh & | mesh (const std::string &name) |
| returns the Mesh called | |
| Domains & | domains () |
| Return the list of domains. | |
| const Domains & | domains () const |
| const Domain & | domain (const std::string &name) const |
| Get specific domains. | |
| const Domain & | domain (const Vect3 &p) const |
| returns the Domain containing the point p | |
| DomainsReference | domains (const Mesh &m) const |
| Return the list of domains containing a mesh. | |
| size_t | nb_parameters () const |
| the total number of vertices + triangles | |
| Domain & | outermost_domain () |
| Returns the outermost domain. | |
| void | set_outermost_domain (Domain &domain) |
| bool | is_outermost (const Domain &domain) const |
| const Interface & | outermost_interface () const |
| returns the outermost interface (only valid for nested geometries). | |
| const Interface & | innermost_interface () const |
| returns the innermost interface (only valid for nested geometries). | |
| const Interface & | interface (const std::string &name) const |
| returns the Interface called | |
| double | sigma (const Mesh &m1, const Mesh &m2) const |
| double | sigma_inv (const Mesh &m1, const Mesh &m2) const |
| double | indicator (const Mesh &m1, const Mesh &m2) const |
| double | conductivity_jump (const Mesh &m) const |
| Return the conductivity jump across a mesh (i.e. between the 2 domains it separates). | |
| int | relative_orientation (const Mesh &m1, const Mesh &m2) const |
| Give the relative orientation of two meshes: | |
| void | load (const std::string &filename, const bool OLD_ORDERING=false) |
| void | load (const std::string &geomFileName, const std::string &condFileName, const bool OLD_ORDERING=false) |
| void | import (const MeshList &meshes) |
| void | save (const std::string &filename) const |
| void | finalize (const bool OLD_ORDERING=false) |
| size_t | nb_current_barrier_triangles () const |
| Handle multiple isolated domains. | |
| size_t & | nb_current_barrier_triangles () |
| size_t | nb_invalid_vertices () |
| const MeshParts & | isolated_parts () const |
| void | mark_current_barriers () |
| const Mesh & | mesh (const std::string &id) const |
Geometry contains the electrophysiological model Vertices, meshes and domains are stored in this geometry.
Definition at line 31 of file geometry.h.
| std::vector<MeshPair> OpenMEEG::Geometry::MeshPairs |
Definition at line 48 of file geometry.h.
| std::vector<const Domain*> OpenMEEG::Geometry::DomainsReference |
Definition at line 50 of file geometry.h.
| std::vector<std::vector<const Mesh*> > OpenMEEG::Geometry::MeshParts |
Definition at line 51 of file geometry.h.
| std::vector<std::pair<std::string,std::string> > OpenMEEG::Geometry::MeshList |
Definition at line 53 of file geometry.h.
|
inline |
Constructors.
Definition at line 57 of file geometry.h.
|
inline |
Definition at line 59 of file geometry.h.
|
inline |
Definition at line 63 of file geometry.h.
|
inline |
Definition at line 67 of file geometry.h.
|
inline |
Definition at line 73 of file geometry.h.
|
inline |
Definition at line 74 of file geometry.h.
| void OpenMEEG::Geometry::info | ( | const bool | verbose = false | ) | const |
Print information on the geometry.
|
inline |
Definition at line 78 of file geometry.h.
| bool OpenMEEG::Geometry::selfCheck | ( | ) | const |
the geometry meshes intersect each other
| bool OpenMEEG::Geometry::check | ( | const Mesh & | m | ) | const |
check if m intersect geometry meshes
| bool OpenMEEG::Geometry::check_inner | ( | const Matrix & | m | ) | const |
check if dipoles are outside of geometry meshes
| void OpenMEEG::Geometry::check_geometry_is_nested | ( | ) |
|
inline |
Definition at line 91 of file geometry.h.
|
inline |
Return the list of vertices involved in the geometry.
Definition at line 95 of file geometry.h.
|
inline |
Definition at line 96 of file geometry.h.
|
inline |
Add a vertex.
| V | to the geometry and return the index of V in the vector of vertices. |
Definition at line 100 of file geometry.h.
|
inline |
Definition at line 111 of file geometry.h.
Definition at line 122 of file geometry.h.
|
inline |
Return the list of meshes involved in the geometry.
Definition at line 131 of file geometry.h.
|
inline |
Definition at line 132 of file geometry.h.
|
inline |
Definition at line 134 of file geometry.h.
| Mesh & OpenMEEG::Geometry::mesh | ( | const std::string & | name | ) |
returns the Mesh called
| name | . |
|
inline |
Return the list of domains.
Definition at line 142 of file geometry.h.
|
inline |
Definition at line 143 of file geometry.h.
| const Domain & OpenMEEG::Geometry::domain | ( | const std::string & | name | ) | const |
returns the Domain containing the point p
| p | a point |
|
inline |
Return the list of domains containing a mesh.
Definition at line 152 of file geometry.h.
|
inline |
the total number of vertices + triangles
Definition at line 160 of file geometry.h.
| Domain & OpenMEEG::Geometry::outermost_domain | ( | ) |
Returns the outermost domain.
|
inline |
Definition at line 167 of file geometry.h.
|
inline |
Definition at line 173 of file geometry.h.
| const Interface & OpenMEEG::Geometry::outermost_interface | ( | ) | const |
returns the outermost interface (only valid for nested geometries).
| const Interface & OpenMEEG::Geometry::innermost_interface | ( | ) | const |
returns the innermost interface (only valid for nested geometries).
| const Interface & OpenMEEG::Geometry::interface | ( | const std::string & | name | ) | const |
returns the Interface called
| name |
Definition at line 182 of file geometry.h.
Definition at line 183 of file geometry.h.
Definition at line 184 of file geometry.h.
|
inline |
Return the conductivity jump across a mesh (i.e. between the 2 domains it separates).
Definition at line 188 of file geometry.h.
Give the relative orientation of two meshes:
Definition at line 201 of file geometry.h.
|
inline |
Definition at line 211 of file geometry.h.
|
inline |
Definition at line 217 of file geometry.h.
| void OpenMEEG::Geometry::import | ( | const MeshList & | meshes | ) |
| void OpenMEEG::Geometry::save | ( | const std::string & | filename | ) | const |
|
inline |
Definition at line 228 of file geometry.h.
|
inline |
Handle multiple isolated domains.
Definition at line 253 of file geometry.h.
|
inline |
Definition at line 254 of file geometry.h.
|
inline |
Definition at line 255 of file geometry.h.
|
inline |
Definition at line 257 of file geometry.h.
| void OpenMEEG::Geometry::mark_current_barriers | ( | ) |
| const Mesh & OpenMEEG::Geometry::mesh | ( | const std::string & | id | ) | const |