Namespace uipc::geometry::affine_body
Namespace List > uipc > geometry > affine_body
Public Functions
| Type | Name |
|---|---|
| UIPC_GEOMETRY_API Vector12 | compute_body_force (const SimplicialComplex & sc, const Vector3 & body_force_density) Compute the body force of an affine body. |
| UIPC_GEOMETRY_API void | compute_dyadic_mass (const SimplicialComplex & sc, Float rho, Float & m, Vector3 & m_x_bar, Matrix3x3 & m_x_bar_x_bar) Compute the dyadic mass of a simplicial complex. |
| Matrix4x4 | q_to_transform (const Vector12 & q) |
| Matrix4x4 | q_v_to_transform_v (const Vector12 & q) |
| Vector12 | transform_to_q (const Matrix4x4 & trans) |
| Vector12 | transform_v_to_q_v (const Matrix4x4 & transform_v) |
Public Functions Documentation
function compute_body_force
Compute the body force of an affine body.
UIPC_GEOMETRY_API Vector12 uipc::geometry::affine_body::compute_body_force (
const SimplicialComplex & sc,
const Vector3 & body_force_density
)
Parameters:
scThe simplicial complex.body_force_densityThe body force density in N/m^3.
function compute_dyadic_mass
Compute the dyadic mass of a simplicial complex.
UIPC_GEOMETRY_API void uipc::geometry::affine_body::compute_dyadic_mass (
const SimplicialComplex & sc,
Float rho,
Float & m,
Vector3 & m_x_bar,
Matrix3x3 & m_x_bar_x_bar
)
Integrate the mass density over the simplicial complex to compute the dyadic mass.
Parameters:
scThe simplicial complex.mThe total mass.m_x_barThe total mass times the center of mass.m_x_bar_x_barThe total mass times the center of mass times the center of mass transpose.
function q_to_transform
function q_v_to_transform_v
function transform_to_q
function transform_v_to_q_v
The documentation for this class was generated from the following file include/uipc/geometry/utils/affine_body/compute_body_force.h