Octopus
submesh_oct_m::submesh_t Type Reference

A submesh is a type of mesh, used for the projectors in the pseudopotentials It contains points on a regular mesh confined to a sphere of a given radius. More...

Detailed Description

A submesh is a type of mesh, used for the projectors in the pseudopotentials It contains points on a regular mesh confined to a sphere of a given radius.

Definition at line 177 of file submesh.F90.

Private Attributes

real(real64), dimension(:), allocatable center
 
real(real64) radius = M_ZERO
 
class(box_t), pointer box => NULL()
 simulation box of box_t More...
 
integer np = -1
 number of points inside the submesh More...
 
integer, dimension(:), allocatable map
 maps point inside the submesh to a point inside the underlying mesh More...
 
integer num_regions
 number of injective regions of the map More...
 
integer, dimension(:), allocatable regions
 offsets for regions of the map More...
 
type(accel_mem_tbuff_map
 
real(real64), dimension(:,:), allocatable rel_x
 Relative position to the center (1:spacedim, 1:np_part) More...
 
real(real64), dimension(:), allocatable r
 distance from centre of the submesh. More...
 
type(mesh_t), pointer mesh => NULL()
 pointer to the underlying mesh More...
 
logical overlap
 .true. if the submesh has more than one point that is mapped to a mesh point, i.e. the submesh overlaps with itself (as can happen in periodic systems) More...
 
integer np_global = -1
 total number of points in the entire mesh More...
 
real(real64), dimension(:,:), allocatable rel_x_global
 
integer, dimension(:), allocatable part_v
 
integer, dimension(:), allocatable global2local
 
type(mesh_cube_map_tcube_map
 

Member Data Documentation

◆ center

real(real64), dimension(:), allocatable submesh_oct_m::submesh_t::center
private

Definition at line 179 of file submesh.F90.

◆ radius

real(real64) submesh_oct_m::submesh_t::radius = M_ZERO
private

Definition at line 180 of file submesh.F90.

◆ box

class(box_t), pointer submesh_oct_m::submesh_t::box => NULL()
private

simulation box of box_t

Definition at line 181 of file submesh.F90.

◆ np

integer submesh_oct_m::submesh_t::np = -1
private

number of points inside the submesh

Definition at line 182 of file submesh.F90.

◆ map

integer, dimension(:), allocatable submesh_oct_m::submesh_t::map
private

maps point inside the submesh to a point inside the underlying mesh

Definition at line 183 of file submesh.F90.

◆ num_regions

integer submesh_oct_m::submesh_t::num_regions
private

number of injective regions of the map

Definition at line 184 of file submesh.F90.

◆ regions

integer, dimension(:), allocatable submesh_oct_m::submesh_t::regions
private

offsets for regions of the map

Definition at line 185 of file submesh.F90.

◆ buff_map

type(accel_mem_t) submesh_oct_m::submesh_t::buff_map
private

Definition at line 186 of file submesh.F90.

◆ rel_x

real(real64), dimension(:,:), allocatable submesh_oct_m::submesh_t::rel_x
private

Relative position to the center (1:spacedim, 1:np_part)

Definition at line 187 of file submesh.F90.

◆ r

real(real64), dimension(:), allocatable submesh_oct_m::submesh_t::r
private

distance from centre of the submesh.

Definition at line 188 of file submesh.F90.

◆ mesh

type(mesh_t), pointer submesh_oct_m::submesh_t::mesh => NULL()
private

pointer to the underlying mesh

Definition at line 189 of file submesh.F90.

◆ overlap

logical submesh_oct_m::submesh_t::overlap
private

.true. if the submesh has more than one point that is mapped to a mesh point, i.e. the submesh overlaps with itself (as can happen in periodic systems)

Definition at line 190 of file submesh.F90.

◆ np_global

integer submesh_oct_m::submesh_t::np_global = -1
private

total number of points in the entire mesh

Definition at line 192 of file submesh.F90.

◆ rel_x_global

real(real64), dimension(:,:), allocatable submesh_oct_m::submesh_t::rel_x_global
private

Definition at line 193 of file submesh.F90.

◆ part_v

integer, dimension(:), allocatable submesh_oct_m::submesh_t::part_v
private

Definition at line 194 of file submesh.F90.

◆ global2local

integer, dimension(:), allocatable submesh_oct_m::submesh_t::global2local
private

Definition at line 195 of file submesh.F90.

◆ cube_map

type(mesh_cube_map_t) submesh_oct_m::submesh_t::cube_map
private

Definition at line 197 of file submesh.F90.


The documentation for this type was generated from the following file: