openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Namespaces | Macros | Functions
fem_utils.h File Reference

FEM utilities functions. More...

#include "sf_interface.h"
#include "petsc_utils.h"
Include dependency graph for fem_utils.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 opencarp
 

Macros

#define COMMENT_CHAR   '#'
 

Functions

void opencarp::parse_comment_line (char *buff, const int buffsize, std::map< std::string, std::string > &metadata)
 
void opencarp::read_metadata (const std::string filename, std::map< std::string, std::string > &metadata, MPI_Comm comm)
 Read metadata from the header. More...
 
char * opencarp::skip_comments (FILE_SPEC stream, char *readbuff, size_t buffsize, MPI_Comm comm)
 
template<class T >
void opencarp::read_indices_global (SF::vector< T > &idx, const std::string filename, MPI_Comm comm)
 
template<class T >
void opencarp::read_indices (SF::vector< T > &idx, const std::string filename, const hashmap::unordered_map< mesh_int_t, mesh_int_t > &dd_map, MPI_Comm comm)
 Read indices from a file. More...
 
template<class T >
void opencarp::read_indices (SF::vector< T > &idx, const std::string filename, const sf_mesh &mesh, const SF::SF_nbr nbr, const bool algebraic, MPI_Comm comm)
 Read indices from a file. More...
 
template<class T >
void opencarp::read_indices (SF::vector< T > &idx, const std::string filename, const SF::vector< mesh_int_t > &dd_nbr, MPI_Comm comm)
 Read indices from a file. More...
 
template<class T , class S >
void opencarp::read_indices_with_data (SF::vector< T > &idx, SF::vector< S > &dat, const std::string filename, const hashmap::unordered_map< mesh_int_t, mesh_int_t > &dd_map, const int dpn, MPI_Comm comm)
 like read_indices, but with associated data for each index More...
 
template<class T , class S >
void opencarp::read_indices_with_data (SF::vector< T > &idx, SF::vector< S > &dat, const std::string filename, const sf_mesh &mesh, const SF::SF_nbr nbr, const bool algebraic, const int dpn, MPI_Comm comm)
 like read_indices, but with associated data for each index More...
 
template<class T , class S >
void opencarp::read_indices_with_data (SF::vector< T > &idx, SF::vector< S > &dat, const std::string filename, const SF::vector< mesh_int_t > &dd_nbr, const int dpn, MPI_Comm comm)
 like read_indices, but with associated data for each index More...
 
void opencarp::warn_when_passing_intra_vtx (const std::string filename)
 
void opencarp::indices_from_region_tag (SF::vector< mesh_int_t > &idx, const sf_mesh &mesh, const int tag)
 Populate vertex data with the vertices of a given tag region. More...
 
void opencarp::indices_from_geom_shape (SF::vector< mesh_int_t > &idx, const sf_mesh &mesh, const geom_shape shape, const bool nodal)
 Populate vertex data with the vertices inside a defined box shape. More...
 
SF_real opencarp::get_volume_from_nodes (sf_mat &mass, SF::vector< mesh_int_t > &local_idx)
 

Detailed Description

FEM utilities functions.

Author
Aurel Neic
Version
Date
2019-10-25

Definition in file fem_utils.h.

Macro Definition Documentation

◆ COMMENT_CHAR

#define COMMENT_CHAR   '#'

Definition at line 37 of file fem_utils.h.