spx_memory Module

内存报告



Contents


Variables

Type Visibility Attributes Name Initial
type(memory_type), public :: mem_obj

内存报告对象


Derived Types

type, private ::  memory_type

内存报告

Components

Type Visibility Attributes Name Initial
integer, public :: region

粒子域内存, MBytes

integer, public :: nnps

近邻搜索结构内存, MBytes

integer, public :: total

总内存, MBytes

integer, public :: maxpairs = 0

最大近邻对数

Type-Bound Procedures

procedure , public , :: check Subroutine
procedure , public , :: init Subroutine
procedure , public , :: report Subroutine

Subroutines

private subroutine init(self)

初始化

Arguments

Type IntentOptional Attributes Name
class(memory_type), intent(inout) :: self

private subroutine report(self)

报告

Arguments

Type IntentOptional Attributes Name
class(memory_type), intent(in) :: self

private subroutine check(self, pairs, particles)

检查是否粒子发生坍塌聚集

Arguments

Type IntentOptional Attributes Name
class(memory_type), intent(inout) :: self
integer, intent(in) :: pairs
integer, intent(in) :: particles