| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| integer, | public, | parameter | :: | SELF_BCNAME_LENGTH | = | 32 |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryCondition), | intent(in) | :: | this | |||
| class(Model), | intent(inout) | :: | mymodel |
| Type | Visibility | Attributes | Name | Initial | |||
|---|---|---|---|---|---|---|---|
| procedure(SELF_bcMethod), | public, | pointer | :: | bcMethod | => | null() | |
| integer, | public | :: | bcid | ||||
| character, | public | :: | bcname | ||||
| integer, | public, | allocatable | :: | elements(:) | |||
| type(c_ptr), | public | :: | elements_gpu | = | c_null_ptr | ||
| integer, | public | :: | nBoundaries | ||||
| type(BoundaryCondition), | public, | pointer | :: | next | => | null() | |
| type(BoundaryCondition), | public, | pointer | :: | prev | => | null() | |
| integer, | public, | allocatable | :: | sides(:) | |||
| type(c_ptr), | public | :: | sides_gpu | = | c_null_ptr |
| 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() |
| procedure, public :: Free => Free_BCList | |
| procedure, public :: GetBCForID | |
| procedure, public :: Init => Init_BCList | |
| procedure, private :: MoveNext | |
| procedure, public :: PopulateBoundaries | |
| generic, public :: RegisterBoundaryCondition => RegisterbcMethod | |
| procedure, private :: RegisterbcMethod | |
| procedure, private :: rewind |
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 |
| 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 |
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(BoundaryConditionList), | intent(inout) | :: | list |