sphere Interface

public interface sphere

Module Procedures

private function sphere_init(radius, optProp, layer, transform) result(out)

Initalising function for Sphere SDF.

Arguments

Type IntentOptional Attributes Name
real(kind=wp), intent(in) :: radius

radius of the Sphere

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(sphere)