ug4
ug::TKDInfo Class Reference

#include <tkd_info.h>

Public Member Functions

const vector3coords () const
 
number get_lipid_diameter ()
 
number get_lipid_edge_length ()
 
number get_lipid_height ()
 
const vector3inner_coords () const
 
size_t num_coords () const
 
size_t num_elements () const
 
size_t num_inner_coords () const
 
size_t num_inner_elements () const
 
size_t num_outer_coords () const
 
size_t num_outer_elements () const
 
const vector3outer_coords () const
 
 TKDInfo (number a, number w, number h, number d)
 
const int * inner_element_indices () const
 
const int * outer_element_indices () const
 

Static Public Attributes

static const int NUM_COORDS = 52
 
static const int NUM_ELEMENTS = 54
 
static const int NUM_INNER_COORDS = 26
 
static const int NUM_INNER_ELEMENTS = 18
 
static const int NUM_OUTER_COORDS = 26
 
static const int NUM_OUTER_ELEMENTS = 36
 

Private Member Functions

void init_coords (vector3 *coordsOut, number a, number w, number h)
 

Private Attributes

number m_alip
 
std::vector< vector3m_coords
 
number m_hlip
 
number m_wlip
 

Constructor & Destructor Documentation

◆ TKDInfo()

ug::TKDInfo::TKDInfo ( number  a,
number  w,
number  h,
number  d 
)
Parameters
a...?
w...?
hheight of the (inner) TKD
dthickness of the outer layer

References init_coords(), m_alip, m_coords, m_hlip, m_wlip, NUM_COORDS, NUM_INNER_COORDS, and ug::PI.

Member Function Documentation

◆ coords()

const vector3* ug::TKDInfo::coords ( ) const
inline

References m_coords.

Referenced by ug::CreateTKDVertices().

◆ get_lipid_diameter()

number ug::TKDInfo::get_lipid_diameter ( )
inline

References m_wlip.

◆ get_lipid_edge_length()

number ug::TKDInfo::get_lipid_edge_length ( )
inline

References m_alip.

◆ get_lipid_height()

number ug::TKDInfo::get_lipid_height ( )
inline

References m_hlip.

◆ init_coords()

void ug::TKDInfo::init_coords ( vector3 coordsOut,
number  a,
number  w,
number  h 
)
inlineprivate

Referenced by TKDInfo().

◆ inner_coords()

const vector3* ug::TKDInfo::inner_coords ( ) const
inline

References m_coords.

◆ inner_element_indices()

const int * ug::TKDInfo::inner_element_indices ( ) const

returns a list of vertex numbers and vertex indices descriping elements of the tkd as follows:

numVrts_0, vrt_0_0, vrt_0_1, ..., numVrts_1, vrt_1_0, vrt_1_1, ...

numVrts can be mapped to element types since only tetrahedra, prisms, and hexahedra are used.

References ug::INNER_TKD_ELEMENT_INDICES.

Referenced by ug::CreateTKD(), and ug::CreateTKDWithOuterLayer().

◆ num_coords()

size_t ug::TKDInfo::num_coords ( ) const
inline

References NUM_COORDS.

Referenced by ug::CreateTKDVertices().

◆ num_elements()

size_t ug::TKDInfo::num_elements ( ) const
inline

References NUM_ELEMENTS.

◆ num_inner_coords()

size_t ug::TKDInfo::num_inner_coords ( ) const
inline

References NUM_INNER_COORDS.

◆ num_inner_elements()

size_t ug::TKDInfo::num_inner_elements ( ) const
inline

References NUM_INNER_ELEMENTS.

◆ num_outer_coords()

size_t ug::TKDInfo::num_outer_coords ( ) const
inline

References NUM_OUTER_COORDS.

◆ num_outer_elements()

size_t ug::TKDInfo::num_outer_elements ( ) const
inline

References NUM_OUTER_ELEMENTS.

◆ outer_coords()

const vector3* ug::TKDInfo::outer_coords ( ) const
inline

References m_coords.

◆ outer_element_indices()

const int * ug::TKDInfo::outer_element_indices ( ) const

returns a list of vertex numbers and vertex indices descriping elements of the tkd as follows:

numVrts_0, vrt_0_0, vrt_0_1, ..., numVrts_1, vrt_1_0, vrt_1_1, ...

numVrts can be mapped to element types since only tetrahedra, prisms, and hexahedra are used.

References ug::OUTER_TKD_ELEMENT_INDICES.

Referenced by ug::CreateTKDWithOuterLayer().

Member Data Documentation

◆ m_alip

number ug::TKDInfo::m_alip
private

Referenced by get_lipid_edge_length(), and TKDInfo().

◆ m_coords

std::vector<vector3> ug::TKDInfo::m_coords
private

◆ m_hlip

number ug::TKDInfo::m_hlip
private

Referenced by get_lipid_height(), and TKDInfo().

◆ m_wlip

number ug::TKDInfo::m_wlip
private

Referenced by get_lipid_diameter(), and TKDInfo().

◆ NUM_COORDS

const int ug::TKDInfo::NUM_COORDS = 52
static

Referenced by num_coords(), and TKDInfo().

◆ NUM_ELEMENTS

const int ug::TKDInfo::NUM_ELEMENTS = 54
static

Referenced by num_elements().

◆ NUM_INNER_COORDS

const int ug::TKDInfo::NUM_INNER_COORDS = 26
static

Referenced by num_inner_coords(), and TKDInfo().

◆ NUM_INNER_ELEMENTS

const int ug::TKDInfo::NUM_INNER_ELEMENTS = 18
static

Referenced by num_inner_elements().

◆ NUM_OUTER_COORDS

const int ug::TKDInfo::NUM_OUTER_COORDS = 26
static

Referenced by num_outer_coords().

◆ NUM_OUTER_ELEMENTS

const int ug::TKDInfo::NUM_OUTER_ELEMENTS = 36
static

Referenced by num_outer_elements().


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