OFF cell object definition and implementation.
Cell object class.
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(vector), | public | :: | center | Cell center. |
|||
| real(kind=R8P), | public | :: | volume | = | 0._R8P | Cell volume. |
| generic, public :: assignment(=) => cell_assign_cell | Overload |
| procedure, public, pass(lhs) :: cell_assign_cell | Operator |
| procedure, public, pass(self) :: destroy | Destroy cell. |
| procedure, public, pass(self) :: initialize | Initialize cell. |
Operator =.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cell_object), | intent(inout) | :: | lhs | Left hand side. |
||
| type(cell_object), | intent(in) | :: | rhs | Right hand side. |
Destroy cell.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cell_object), | intent(inout) | :: | self | Cell object. |
Initialize cell.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(cell_object), | intent(inout) | :: | self | Cell object. |