OFF face object definition and implementation.
Face object class.
Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=R8P), | public | :: | area | = | 0._R8P | Area. |
|
type(vector), | public | :: | normal | Normal versor. |
generic, public :: assignment(=) => face_assign_face | Overload |
procedure, public, pass(self) :: compute_metrics | Compute face metrics. |
procedure, public, pass(self) :: destroy | Destroy face. |
procedure, public, pass(lhs) :: face_assign_face | Operator |
procedure, public, pass(self) :: initialize | Initialize face. |
Compute face metrics.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(face_object), | intent(inout) | :: | self | Face. |
||
type(vector), | intent(in) | :: | pt1 | Point 1 of face. |
||
type(vector), | intent(in) | :: | pt2 | Point 2 of face. |
||
type(vector), | intent(in) | :: | pt3 | Point 3 of face. |
||
type(vector), | intent(in) | :: | pt4 | Point 4 of face. |
||
real(kind=R8P), | intent(in) | :: | signd | Sign of direction along normal coordinate. |
Destroy face.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(face_object), | intent(inout) | :: | self | Face object. |
Operator =
.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(face_object), | intent(inout) | :: | lhs | Left hand side. |
||
type(face_object), | intent(in) | :: | rhs | Right hand side. |
Initialize face.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(face_object), | intent(inout) | :: | self | Face object. |