Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
character(len=255), | public, | allocatable | :: | BCNames(:) | |||
integer, | public, | pointer, dimension(:,:) | :: | BCType | |||
integer, | public, | dimension(2) | :: | bcid | = | 0 | |
type(DomainDecomposition), | public | :: | decomp | ||||
integer, | public, | pointer, dimension(:,:) | :: | elemInfo | |||
integer, | public, | pointer, dimension(:) | :: | globalNodeIDs | |||
integer, | public | :: | nBCs | ||||
integer, | public | :: | nCornerNodes | ||||
integer, | public | :: | nElem | ||||
integer, | public | :: | nGeo | ||||
integer, | public | :: | nGlobalElem | ||||
integer, | public | :: | nNodes | ||||
integer, | public | :: | nSides | ||||
integer, | public | :: | nUniqueNodes | ||||
integer, | public | :: | nUniqueSides | ||||
real(kind=prec), | public, | pointer, dimension(:) | :: | nodeCoords | |||
integer, | public | :: | quadrature |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Mesh1D), | intent(inout) | :: | this |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Mesh1D), | intent(out) | :: | this | |||
integer, | intent(in) | :: | nElem | |||
integer, | intent(in) | :: | nNodes | |||
integer, | intent(in) | :: | nBCs |
This method can be used to reset all of the boundary elements boundary condition type to the desired value.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Mesh1D), | intent(inout) | :: | this | |||
integer, | intent(in) | :: | leftbc | |||
integer, | intent(in) | :: | rightbc |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Mesh1D), | intent(out) | :: | this | |||
integer, | intent(in) | :: | nElem | |||
real(kind=prec), | intent(in) | :: | x(1:2) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Mesh1D), | intent(out) | :: | this | |||
integer, | intent(in) | :: | nElem | |||
real(kind=prec), | intent(in) | :: | x(1:2) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(Mesh1D), | intent(inout) | :: | this | |||
character, | intent(in) | :: | meshFile |
type,extends(SEMMesh) :: Mesh1D
integer,pointer,dimension(:,:) :: elemInfo
real(prec),pointer,dimension(:) :: nodeCoords
integer,pointer,dimension(:) :: globalNodeIDs
integer,pointer,dimension(:,:) :: BCType
character(LEN=255),allocatable :: BCNames(:)
integer,dimension(2) :: bcid = 0 ! Boundary conditions for the left and right endpoints
contains
procedure,public :: Init => Init_Mesh1D
procedure,public :: Free => Free_Mesh1D
generic,public :: StructuredMesh => UniformBlockMesh_Mesh1D
procedure,private :: UniformBlockMesh_Mesh1D
procedure,public :: ResetBoundaryConditionType => ResetBoundaryConditionType_Mesh1D
procedure,public :: Write_Mesh => Write_Mesh1D
endtype Mesh1D