Triprisim SDF
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=wp), | public | :: | h1 | ||||
real(kind=wp), | public | :: | h2 | ||||
integer, | public | :: | layer |
Layer ID of SDF |
|||
type(opticalProp_t), | public | :: | optProps |
Optical property of the SDF |
|||
real(kind=wp), | public | :: | transform(4,4) |
Transform to apply to SDF. |
Interface to triprisim SDF initialising function
Initalising function for triprisim SDF.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=wp), | intent(in) | :: | h1 |
Height of triprisim |
||
real(kind=wp), | intent(in) | :: | h2 |
length of triprisim |
||
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 |
Evaluation function for Triprisim SDF.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(triprism), | intent(in) | :: | this | |||
type(vector), | intent(in) | :: | pos |
vector position to evaluate SDF at |
type, extends(sdf_base) :: triprism real(kind=wp) :: h1, h2 contains procedure :: evaluate => evaluate_triprism end type triprism