capsule Interface

public interface capsule

Interface to capsule SDF initialising function


Module Procedures

private function capsule_init(a, b, r, optProp, layer, transform) result(out)

Initalising function for capsule SDF.

Arguments

Type IntentOptional Attributes Name
type(vector), intent(in) :: a

Capsule startpoint

type(vector), intent(in) :: b

Capsule endpoint

real(kind=wp), intent(in) :: r

Capsule radius

type(opticalProp_t), intent(in) :: optProp

Optical properties of the SDF

integer, intent(in) :: layer

ID number of sdf

real(kind=wp), intent(in), optional :: transform(4,4)

Optional transform to apply to SDF

Return Value type(capsule)