unused variables
This commit is contained in:
parent
dcd16dda70
commit
4f2a3d7f55
|
@ -27,7 +27,6 @@ use PETScis
|
||||||
mesh_NcpElems, & !< total number of CP elements in mesh
|
mesh_NcpElems, & !< total number of CP elements in mesh
|
||||||
mesh_NcpElemsGlobal, &
|
mesh_NcpElemsGlobal, &
|
||||||
mesh_Nnodes, & !< total number of nodes in mesh
|
mesh_Nnodes, & !< total number of nodes in mesh
|
||||||
mesh_NipsPerElem, & !< number of IPs in per element
|
|
||||||
mesh_maxNipNeighbors
|
mesh_maxNipNeighbors
|
||||||
!!!! BEGIN DEPRECATED !!!!!
|
!!!! BEGIN DEPRECATED !!!!!
|
||||||
integer(pInt), public, protected :: &
|
integer(pInt), public, protected :: &
|
||||||
|
@ -269,7 +268,6 @@ subroutine mesh_init()
|
||||||
!!!! COMPATIBILITY HACK !!!!
|
!!!! COMPATIBILITY HACK !!!!
|
||||||
! for a homogeneous mesh, all elements have the same number of IPs and and cell nodes.
|
! for a homogeneous mesh, all elements have the same number of IPs and and cell nodes.
|
||||||
! hence, xxPerElem instead of maxXX
|
! hence, xxPerElem instead of maxXX
|
||||||
mesh_NipsPerElem = mesh_maxNips
|
|
||||||
! better name
|
! better name
|
||||||
mesh_homogenizationAt = mesh_element(3,:)
|
mesh_homogenizationAt = mesh_element(3,:)
|
||||||
mesh_microstructureAt = mesh_element(4,:)
|
mesh_microstructureAt = mesh_element(4,:)
|
||||||
|
|
|
@ -18,7 +18,6 @@ module mesh
|
||||||
mesh_Nnodes, & !< total number of nodes in mesh
|
mesh_Nnodes, & !< total number of nodes in mesh
|
||||||
mesh_Ncellnodes, & !< total number of cell nodes in mesh (including duplicates)
|
mesh_Ncellnodes, & !< total number of cell nodes in mesh (including duplicates)
|
||||||
mesh_Ncells, & !< total number of cells in mesh
|
mesh_Ncells, & !< total number of cells in mesh
|
||||||
mesh_NipsPerElem, & !< number of IPs in per element
|
|
||||||
mesh_NcellnodesPerElem, & !< number of cell nodes per element
|
mesh_NcellnodesPerElem, & !< number of cell nodes per element
|
||||||
mesh_maxNipNeighbors, & !< max number of IP neighbors in any CP element
|
mesh_maxNipNeighbors, & !< max number of IP neighbors in any CP element
|
||||||
mesh_maxNsharedElems !< max number of CP elements sharing a node
|
mesh_maxNsharedElems !< max number of CP elements sharing a node
|
||||||
|
@ -33,7 +32,6 @@ module mesh
|
||||||
mesh_microstructureAt !< microstructure ID of each element
|
mesh_microstructureAt !< microstructure ID of each element
|
||||||
|
|
||||||
integer(pInt), dimension(:,:), allocatable, public, protected :: &
|
integer(pInt), dimension(:,:), allocatable, public, protected :: &
|
||||||
mesh_CPnodeID, & !< nodes forming an element
|
|
||||||
mesh_element, & !DEPRECATED
|
mesh_element, & !DEPRECATED
|
||||||
mesh_sharedElem, & !< entryCount and list of elements containing node
|
mesh_sharedElem, & !< entryCount and list of elements containing node
|
||||||
mesh_nodeTwins !< node twins are surface nodes that lie exactly on opposite sides of the mesh (surfaces nodes with equal coordinate values in two dimensions)
|
mesh_nodeTwins !< node twins are surface nodes that lie exactly on opposite sides of the mesh (surfaces nodes with equal coordinate values in two dimensions)
|
||||||
|
@ -532,12 +530,10 @@ subroutine mesh_init(ip,el)
|
||||||
!!!! COMPATIBILITY HACK !!!!
|
!!!! COMPATIBILITY HACK !!!!
|
||||||
! for a homogeneous mesh, all elements have the same number of IPs and and cell nodes.
|
! for a homogeneous mesh, all elements have the same number of IPs and and cell nodes.
|
||||||
! hence, xxPerElem instead of maxXX
|
! hence, xxPerElem instead of maxXX
|
||||||
mesh_NipsPerElem = mesh_maxNips
|
|
||||||
mesh_NcellnodesPerElem = mesh_maxNcellnodes
|
mesh_NcellnodesPerElem = mesh_maxNcellnodes
|
||||||
! better name
|
! better name
|
||||||
mesh_homogenizationAt = mesh_element(3,:)
|
mesh_homogenizationAt = mesh_element(3,:)
|
||||||
mesh_microstructureAt = mesh_element(4,:)
|
mesh_microstructureAt = mesh_element(4,:)
|
||||||
mesh_CPnodeID = mesh_element(5:4+mesh_NipsPerElem,:)
|
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
call theMesh%init(mesh_element(2,1),mesh_node0)
|
call theMesh%init(mesh_element(2,1),mesh_node0)
|
||||||
contains
|
contains
|
||||||
|
|
|
@ -14,11 +14,9 @@ module mesh
|
||||||
private
|
private
|
||||||
integer(pInt), public, protected :: &
|
integer(pInt), public, protected :: &
|
||||||
mesh_NcpElems, & !< total number of CP elements in local mesh
|
mesh_NcpElems, & !< total number of CP elements in local mesh
|
||||||
mesh_elemType, & !< Element type of the mesh (only support homogeneous meshes)
|
|
||||||
mesh_Nnodes, & !< total number of nodes in mesh
|
mesh_Nnodes, & !< total number of nodes in mesh
|
||||||
mesh_Ncellnodes, & !< total number of cell nodes in mesh (including duplicates)
|
mesh_Ncellnodes, & !< total number of cell nodes in mesh (including duplicates)
|
||||||
mesh_Ncells, & !< total number of cells in mesh
|
mesh_Ncells, & !< total number of cells in mesh
|
||||||
mesh_NipsPerElem, & !< number of IPs in per element
|
|
||||||
mesh_NcellnodesPerElem, & !< number of cell nodes per element
|
mesh_NcellnodesPerElem, & !< number of cell nodes per element
|
||||||
mesh_maxNipNeighbors, & !< max number of IP neighbors in any CP element
|
mesh_maxNipNeighbors, & !< max number of IP neighbors in any CP element
|
||||||
mesh_maxNsharedElems !< max number of CP elements sharing a node
|
mesh_maxNsharedElems !< max number of CP elements sharing a node
|
||||||
|
@ -35,10 +33,7 @@ module mesh
|
||||||
mesh_microstructureAt !< microstructure ID of each element
|
mesh_microstructureAt !< microstructure ID of each element
|
||||||
|
|
||||||
integer(pInt), dimension(:,:), allocatable, public, protected :: &
|
integer(pInt), dimension(:,:), allocatable, public, protected :: &
|
||||||
mesh_CPnodeID, & !< nodes forming an element
|
mesh_element !< entryCount and list of elements containing node
|
||||||
mesh_element, & !DEPRECATED
|
|
||||||
mesh_sharedElem, & !< entryCount and list of elements containing node
|
|
||||||
mesh_nodeTwins !< node twins are surface nodes that lie exactly on opposite sides of the mesh (surfaces nodes with equal coordinate values in two dimensions)
|
|
||||||
|
|
||||||
integer(pInt), dimension(:,:,:,:), allocatable, public, protected :: &
|
integer(pInt), dimension(:,:,:,:), allocatable, public, protected :: &
|
||||||
mesh_ipNeighborhood !< 6 or less neighboring IPs as [element_num, IP_index, neighbor_index that points to me]
|
mesh_ipNeighborhood !< 6 or less neighboring IPs as [element_num, IP_index, neighbor_index that points to me]
|
||||||
|
@ -435,12 +430,10 @@ subroutine mesh_init(ip,el)
|
||||||
!!!! COMPATIBILITY HACK !!!!
|
!!!! COMPATIBILITY HACK !!!!
|
||||||
! for a homogeneous mesh, all elements have the same number of IPs and and cell nodes.
|
! for a homogeneous mesh, all elements have the same number of IPs and and cell nodes.
|
||||||
! hence, xxPerElem instead of maxXX
|
! hence, xxPerElem instead of maxXX
|
||||||
mesh_NipsPerElem = mesh_maxNips
|
|
||||||
mesh_NcellnodesPerElem = mesh_maxNcellnodes
|
mesh_NcellnodesPerElem = mesh_maxNcellnodes
|
||||||
! better name
|
! better name
|
||||||
mesh_homogenizationAt = mesh_element(3,:)
|
mesh_homogenizationAt = mesh_element(3,:)
|
||||||
mesh_microstructureAt = mesh_element(4,:)
|
mesh_microstructureAt = mesh_element(4,:)
|
||||||
mesh_CPnodeID = mesh_element(5:4+mesh_NipsPerElem,:)
|
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
call theMesh%setNelems(mesh_NcpElems)
|
call theMesh%setNelems(mesh_NcpElems)
|
||||||
end subroutine mesh_init
|
end subroutine mesh_init
|
||||||
|
|
|
@ -18,7 +18,6 @@ module mesh
|
||||||
mesh_Nnodes, & !< total number of nodes in mesh
|
mesh_Nnodes, & !< total number of nodes in mesh
|
||||||
mesh_Ncellnodes, & !< total number of cell nodes in mesh (including duplicates)
|
mesh_Ncellnodes, & !< total number of cell nodes in mesh (including duplicates)
|
||||||
mesh_Ncells, & !< total number of cells in mesh
|
mesh_Ncells, & !< total number of cells in mesh
|
||||||
mesh_NipsPerElem, & !< number of IPs in per element
|
|
||||||
mesh_NcellnodesPerElem, & !< number of cell nodes per element
|
mesh_NcellnodesPerElem, & !< number of cell nodes per element
|
||||||
mesh_maxNipNeighbors, & !< max number of IP neighbors in any CP element
|
mesh_maxNipNeighbors, & !< max number of IP neighbors in any CP element
|
||||||
mesh_maxNsharedElems !< max number of CP elements sharing a node
|
mesh_maxNsharedElems !< max number of CP elements sharing a node
|
||||||
|
@ -33,7 +32,6 @@ module mesh
|
||||||
mesh_microstructureAt !< microstructure ID of each element
|
mesh_microstructureAt !< microstructure ID of each element
|
||||||
|
|
||||||
integer(pInt), dimension(:,:), allocatable, public, protected :: &
|
integer(pInt), dimension(:,:), allocatable, public, protected :: &
|
||||||
mesh_CPnodeID, & !< nodes forming an element
|
|
||||||
mesh_element, & !DEPRECATED
|
mesh_element, & !DEPRECATED
|
||||||
mesh_sharedElem, & !< entryCount and list of elements containing node
|
mesh_sharedElem, & !< entryCount and list of elements containing node
|
||||||
mesh_nodeTwins !< node twins are surface nodes that lie exactly on opposite sides of the mesh (surfaces nodes with equal coordinate values in two dimensions)
|
mesh_nodeTwins !< node twins are surface nodes that lie exactly on opposite sides of the mesh (surfaces nodes with equal coordinate values in two dimensions)
|
||||||
|
@ -552,12 +550,10 @@ subroutine mesh_init(ip,el)
|
||||||
!!!! COMPATIBILITY HACK !!!!
|
!!!! COMPATIBILITY HACK !!!!
|
||||||
! for a homogeneous mesh, all elements have the same number of IPs and and cell nodes.
|
! for a homogeneous mesh, all elements have the same number of IPs and and cell nodes.
|
||||||
! hence, xxPerElem instead of maxXX
|
! hence, xxPerElem instead of maxXX
|
||||||
mesh_NipsPerElem = mesh_maxNips
|
|
||||||
mesh_NcellnodesPerElem = mesh_maxNcellnodes
|
mesh_NcellnodesPerElem = mesh_maxNcellnodes
|
||||||
! better name
|
! better name
|
||||||
mesh_homogenizationAt = mesh_element(3,:)
|
mesh_homogenizationAt = mesh_element(3,:)
|
||||||
mesh_microstructureAt = mesh_element(4,:)
|
mesh_microstructureAt = mesh_element(4,:)
|
||||||
mesh_CPnodeID = mesh_element(5:4+mesh_NipsPerElem,:)
|
|
||||||
!!!!!!!!!!!!!!!!!!!!!!!!
|
!!!!!!!!!!!!!!!!!!!!!!!!
|
||||||
call theMesh%init(mesh_element(2,1),mesh_node0)
|
call theMesh%init(mesh_element(2,1),mesh_node0)
|
||||||
call theMesh%setNelems(mesh_NcpElems)
|
call theMesh%setNelems(mesh_NcpElems)
|
||||||
|
|
Loading…
Reference in New Issue