#include <edm_surface.h>
Classes | |
struct | SurfaceParticle |
Public Types | |
typedef edm_types::model_type | base_type |
typedef edm_types::value_traits | value_traits |
typedef edm_types::real_type | real_type |
typedef edm_types::vector3_type | vector3_type |
typedef edm_types::tensor2_type | tensor2_type |
typedef edm_types::Particle | particle_type |
typedef base_type::EDMMatrix | EDMMatrix |
typedef base_type::EDMVector | EDMVector |
typedef std::vector < SurfaceParticle > | SurfaceParticles |
Public Member Functions | |
Surface () | |
virtual | ~Surface () |
bool | initialize (size_t M, size_t N) |
Surface & | wrapping (bool M, bool N) |
size_t | get_num_M (bool include_wrapping=false) const |
size_t | get_num_N (bool include_wrapping=false) const |
SurfaceParticle const & | particle (size_t m, size_t n) const |
size_t | nodes () const |
size_t | index_adjust (long m, long n) const |
Surface & | set_natural_position (size_t idx, vector3_type const &r) |
Surface & | set_initial_position (size_t idx, vector3_type const &r) |
Surface & | set_fixed (size_t m, size_t n, bool fixed) |
Surface & | set_mass (size_t m, size_t n, real_type const &mass) |
Surface & | set_damping (size_t m, size_t n, real_type const &damping) |
Surface & | set_tension (size_t m, size_t n, tensor2_type const &tension) |
Surface & | set_rigidity (size_t m, size_t n, tensor2_type const &rigidity) |
Protected Member Functions | |
bool | index_check (long m, long n) const |
SurfaceParticle const & | grid_adjust (long m, long n) const |
vector3_type const & | r (long m, long n) const |
Protected Attributes | |
size_t | m_M |
size_t | m_N |
bool | m_wrap_M |
bool | m_wrap_N |
typedef edm_types::model_type OpenTissue::edm::Surface< edm_types >::base_type |
typedef base_type::EDMMatrix OpenTissue::edm::Surface< edm_types >::EDMMatrix |
typedef base_type::EDMVector OpenTissue::edm::Surface< edm_types >::EDMVector |
typedef edm_types::Particle OpenTissue::edm::Surface< edm_types >::particle_type |
typedef edm_types::real_type OpenTissue::edm::Surface< edm_types >::real_type |
typedef std::vector<SurfaceParticle> OpenTissue::edm::Surface< edm_types >::SurfaceParticles |
typedef edm_types::tensor2_type OpenTissue::edm::Surface< edm_types >::tensor2_type |
typedef edm_types::value_traits OpenTissue::edm::Surface< edm_types >::value_traits |
typedef edm_types::vector3_type OpenTissue::edm::Surface< edm_types >::vector3_type |
OpenTissue::edm::Surface< edm_types >::Surface | ( | ) | [inline] |
virtual OpenTissue::edm::Surface< edm_types >::~Surface | ( | ) | [inline, virtual] |
size_t OpenTissue::edm::Surface< edm_types >::get_num_M | ( | bool | include_wrapping = false |
) | const [inline] |
size_t OpenTissue::edm::Surface< edm_types >::get_num_N | ( | bool | include_wrapping = false |
) | const [inline] |
SurfaceParticle const& OpenTissue::edm::Surface< edm_types >::grid_adjust | ( | long | m, | |
long | n | |||
) | const [inline, protected] |
size_t OpenTissue::edm::Surface< edm_types >::index_adjust | ( | long | m, | |
long | n | |||
) | const [inline] |
bool OpenTissue::edm::Surface< edm_types >::index_check | ( | long | m, | |
long | n | |||
) | const [inline, protected] |
bool OpenTissue::edm::Surface< edm_types >::initialize | ( | size_t | M, | |
size_t | N | |||
) | [inline] |
size_t OpenTissue::edm::Surface< edm_types >::nodes | ( | ) | const [inline] |
SurfaceParticle const& OpenTissue::edm::Surface< edm_types >::particle | ( | size_t | m, | |
size_t | n | |||
) | const [inline] |
vector3_type const& OpenTissue::edm::Surface< edm_types >::r | ( | long | m, | |
long | n | |||
) | const [inline, protected] |
Surface& OpenTissue::edm::Surface< edm_types >::set_damping | ( | size_t | m, | |
size_t | n, | |||
real_type const & | damping | |||
) | [inline] |
Surface& OpenTissue::edm::Surface< edm_types >::set_fixed | ( | size_t | m, | |
size_t | n, | |||
bool | fixed | |||
) | [inline] |
Surface& OpenTissue::edm::Surface< edm_types >::set_initial_position | ( | size_t | idx, | |
vector3_type const & | r | |||
) | [inline] |
Surface& OpenTissue::edm::Surface< edm_types >::set_mass | ( | size_t | m, | |
size_t | n, | |||
real_type const & | mass | |||
) | [inline] |
Surface& OpenTissue::edm::Surface< edm_types >::set_natural_position | ( | size_t | idx, | |
vector3_type const & | r | |||
) | [inline] |
Surface& OpenTissue::edm::Surface< edm_types >::set_rigidity | ( | size_t | m, | |
size_t | n, | |||
tensor2_type const & | rigidity | |||
) | [inline] |
Surface& OpenTissue::edm::Surface< edm_types >::set_tension | ( | size_t | m, | |
size_t | n, | |||
tensor2_type const & | tension | |||
) | [inline] |
Surface& OpenTissue::edm::Surface< edm_types >::wrapping | ( | bool | M, | |
bool | N | |||
) | [inline] |
size_t OpenTissue::edm::Surface< edm_types >::m_M [protected] |
size_t OpenTissue::edm::Surface< edm_types >::m_N [protected] |
bool OpenTissue::edm::Surface< edm_types >::m_wrap_M [protected] |
bool OpenTissue::edm::Surface< edm_types >::m_wrap_N [protected] |