Container type that allows the use of arrays of different SDF shapes
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
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. |
|||
class(sdf_base), | public, | allocatable | :: | value |
Container for any SDF that inherits from SDF_base |
sdf initializer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(sdf), | intent(inout) | :: | lhs | |||
class(sdf_base), | intent(in) | :: | rhs |
Evaluate the SDF at a given position.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(sdf), | intent(in) | :: | this | |||
type(vector), | intent(in) | :: | pos |
sdf initializer
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(sdf), | intent(inout) | :: | lhs | |||
class(sdf_base), | intent(in) | :: | rhs |
type, extends(sdf_base) :: sdf !> Container for any SDF that inherits from SDF_base class(sdf_base), allocatable :: value contains procedure :: getKappa procedure :: getAlbedo procedure :: getMua, gethgg, getG2, getN procedure :: evaluate => sdf_evaluate procedure, private :: sdf_assign generic :: assignment(=) => sdf_assign end type sdf