openCARP
Doxygen code documentation for the open cardiac electrophysiology simulator openCARP
Public Types | Public Member Functions | Public Attributes | List of all members
opencarp::mech_bcs Class Reference

#include <mechanics.h>

Collaboration diagram for opencarp::mech_bcs:

Public Types

enum  def_t { Neumann , Dirichlet }
 
enum  nbc_t { pressure , force }
 
enum  dbc_t {
  all , x , y , z ,
  xy , xz , yz
}
 

Public Member Functions

void setup (int idx)
 Setup of both Neumann and Dirichlet mechanics boundary conditions. More...
 

Public Attributes

def_t definition
 type of boundary condition More...
 
nbc_t nbc_type
 pressure given for elements, force given for nodes More...
 
dbc_t dbc_type
 fixed coordinates More...
 
SF::Point direction
 direction in which the bc is applied More...
 
SF::vector< mesh_int_tvertices
 list of nodes that bc is active on More...
 
SF::vector< SF_realscaling
 scaling for Neumann bcs More...
 
std::string input_filename
 filename with list of nodes More...
 

Detailed Description

@ brief Class for the definition of both Neumann and DIrichlet mechanics boundary conditions

Definition at line 45 of file mechanics.h.

Member Enumeration Documentation

◆ dbc_t

Enumerator
all 
xy 
xz 
yz 

Definition at line 51 of file mechanics.h.

◆ def_t

Enumerator
Neumann 
Dirichlet 

Definition at line 49 of file mechanics.h.

◆ nbc_t

Enumerator
pressure 
force 

Definition at line 50 of file mechanics.h.

Member Function Documentation

◆ setup()

void opencarp::mech_bcs::setup ( int  idx)

Setup of both Neumann and Dirichlet mechanics boundary conditions.

Definition at line 766 of file mechanics.cc.

Here is the caller graph for this function:

Member Data Documentation

◆ dbc_type

dbc_t opencarp::mech_bcs::dbc_type

fixed coordinates

Definition at line 55 of file mechanics.h.

◆ definition

def_t opencarp::mech_bcs::definition

type of boundary condition

Definition at line 53 of file mechanics.h.

◆ direction

SF::Point opencarp::mech_bcs::direction

direction in which the bc is applied

Definition at line 56 of file mechanics.h.

◆ input_filename

std::string opencarp::mech_bcs::input_filename

filename with list of nodes

Definition at line 59 of file mechanics.h.

◆ nbc_type

nbc_t opencarp::mech_bcs::nbc_type

pressure given for elements, force given for nodes

Definition at line 54 of file mechanics.h.

◆ scaling

SF::vector<SF_real> opencarp::mech_bcs::scaling

scaling for Neumann bcs

Definition at line 58 of file mechanics.h.

◆ vertices

SF::vector<mesh_int_t> opencarp::mech_bcs::vertices

list of nodes that bc is active on

Definition at line 57 of file mechanics.h.


The documentation for this class was generated from the following files: