| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| type(BoundaryCondition), | public, | pointer | :: | current | => | null() | |
| type(BoundaryCondition), | public, | pointer | :: | head | => | null() | |
| integer, | public | :: | nbc | ||||
| type(BoundaryCondition), | public, | pointer | :: | tail | => | null() |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryConditionList), | intent(inout) | :: | list |
Returns the node associated with the given bcid. If the bcid is not found, a null pointer is returned.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryConditionList), | intent(in) | :: | list | |||
| integer, | intent(in) | :: | bcid |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryConditionList), | intent(inout) | :: | list |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryConditionList), | intent(inout) | :: | list |
Populate the elements and sides arrays for a registered boundary condition. Called after scanning the mesh to determine which faces belong to each bcid.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryConditionList), | intent(inout) | :: | list | |||
| integer, | intent(in) | :: | bcid | |||
| integer, | intent(in) | :: | nBoundaries | |||
| integer, | intent(in) | :: | elements(1:nBoundaries) | |||
| integer, | intent(in) | :: | sides(1:nBoundaries) |
Register a boundary condition function with the given bcid and bcname. If the bcid is already registered, the function pointer is updated. The elements and sides arrays are not allocated here; call PopulateBoundaries after scanning the mesh.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryConditionList), | intent(inout) | :: | list | |||
| integer, | intent(in) | :: | bcid | |||
| character, | intent(in) | :: | bcname | |||
| procedure(SELF_bcMethod), | intent(in), | pointer | :: | bcfunc |
Register a boundary condition function with the given bcid and bcname. If the bcid is already registered, the function pointer is updated. The elements and sides arrays are not allocated here; call PopulateBoundaries after scanning the mesh.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryConditionList), | intent(inout) | :: | list | |||
| integer, | intent(in) | :: | bcid | |||
| character, | intent(in) | :: | bcname | |||
| procedure(SELF_bcMethod), | intent(in), | pointer | :: | bcfunc |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryConditionList), | intent(inout) | :: | list |
type BoundaryConditionList
type(BoundaryCondition),pointer :: current => null()
type(BoundaryCondition),pointer :: head => null()
type(BoundaryCondition),pointer :: tail => null()
integer :: nbc
contains
procedure,public :: Init => Init_BCList
procedure,public :: Free => Free_BCList
procedure,private :: MoveNext
procedure,private :: rewind
procedure,public :: GetBCForID
generic,public :: RegisterBoundaryCondition => RegisterbcMethod
procedure,private :: RegisterbcMethod
procedure,public :: PopulateBoundaries
endtype BoundaryConditionList