61 return eigen_value_[i_[
i]];
102 MEM_CXX_CLASS_ALLOC_FUNCS(
"Freestyle:OGF:NormalCycle")
109 double s =
beta * neigh_area / edge.
norm();
111 M_[0] += s * edge.
x() * edge.
x();
112 M_[1] += s * edge.
x() * edge.
y();
113 M_[2] += s * edge.
y() * edge.
y();
114 M_[3] += s * edge.
x() * edge.
z();
115 M_[4] += s * edge.
y() * edge.
z();
116 M_[5] += s * edge.
z() * edge.
z();
Configuration definitions.
Vectors and Matrices (useful type definitions).
static double angle(const Eigen::Vector3d &v1, const Eigen::Vector3d &v2)
Read Guarded memory(de)allocation.
SIMD_FORCE_INLINE const btScalar & z() const
Return the z value.
void accumulate_dihedral_angle(const Vec3r &edge, real angle, real neigh_area=1.0)
const Vec3r & Kmin() const
const Vec3r & Kmax() const
real eigen_value(int i) const
const Vec3r & eigen_vector(int i) const
ccl_device_inline float beta(const float x, const float y)
VecMat::Vec3< real > Vec3r
void ogf_swap(T &x, T &y)