Skip to content
ForCADDocumentation

valid_multipatch Function

public pure function valid_multipatch(patches, npatch, connections, nconnection, ndim, rtol, atol) result(ok)

Validate geometry and the homogeneous interface equations shared by analysis and design. In coordinates centered at a common physical origin, each row and component must satisfy , including summation roundoff. The denominator is checked with the same jet. Relative tolerance also controls the comparison of oriented knots and projective scales.

Arguments

Type IntentOptional Attributes Name
class(*), intent(in), optional :: patches(:)
integer, intent(in) :: npatch
type(multipatch_connection), intent(in), optional :: connections(:)
integer, intent(in) :: nconnection
integer, intent(in) :: ndim
real(kind=rk), intent(in), optional :: rtol
real(kind=rk), intent(in), optional :: atol

Return Value logical