pub struct NonOrthoGeometry {
pub delta_coeff: f64,
pub corr_vec: Vector3,
pub angle_deg: f64,
}Expand description
Per-face non-orthogonal geometry: the implicit delta coefficient and the explicit correction vector.
delta_coeff has units [1/m]; corr_vec is dimensionless (it is a
difference of unit vectors and a d-scaled term).
Fields§
§delta_coeff: f64Delta_f = 1 / max(n . d, 0.05 |d|) — the coefficient multiplying
(phi_N - phi_P) in the implicit part [1/m].
corr_vec: Vector3k_f = n - d Delta_f — the vector dotted into the face gradient to form
the explicit correction (dimensionless).
angle_deg: f64Non-orthogonality angle between the face normal n and d, in
degrees, 0 (orthogonal) to 90. This is the same quantity
checkMesh reports as “max non-orthogonality”.
Trait Implementations§
Source§impl Clone for NonOrthoGeometry
impl Clone for NonOrthoGeometry
impl Copy for NonOrthoGeometry
Auto Trait Implementations§
impl Freeze for NonOrthoGeometry
impl RefUnwindSafe for NonOrthoGeometry
impl Send for NonOrthoGeometry
impl Sync for NonOrthoGeometry
impl Unpin for NonOrthoGeometry
impl UnsafeUnpin for NonOrthoGeometry
impl UnwindSafe for NonOrthoGeometry
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more