Octopus
gravity_oct_m Module Reference

Data Types

interface  gravity_t
 Gravity interaction between two systems of particles. This should be used for testing purposes only. Note that this interaction assumes all quantities are in S.I. units instead of atomic units. More...
 

Functions/Subroutines

class(gravity_t) function, pointer gravity_constructor (partner)
 
subroutine gravity_init (this, dim, system_np, system_mass, system_pos)
 
subroutine gravity_calculate (this)
 
subroutine gravity_calculate_energy (this)
 
subroutine gravity_finalize (this)
 

Function/Subroutine Documentation

◆ gravity_constructor()

class(gravity_t) function, pointer gravity_oct_m::gravity_constructor ( class(interaction_partner_t), intent(inout), target  partner)
private

Definition at line 156 of file gravity.F90.

◆ gravity_init()

subroutine gravity_oct_m::gravity_init ( class(gravity_t), intent(inout)  this,
integer, intent(in)  dim,
integer, intent(in)  system_np,
real(real64), dimension(:), intent(in), target  system_mass,
real(real64), dimension(:,:), intent(in), target  system_pos 
)
private
Parameters
[in]dimnumber of dimensions in space
[in]system_npnumber of particles in the system that owns this interaction

Definition at line 179 of file gravity.F90.

◆ gravity_calculate()

subroutine gravity_oct_m::gravity_calculate ( class(gravity_t), intent(inout)  this)
private

Definition at line 199 of file gravity.F90.

◆ gravity_calculate_energy()

subroutine gravity_oct_m::gravity_calculate_energy ( class(gravity_t), intent(inout)  this)
private

Definition at line 225 of file gravity.F90.

◆ gravity_finalize()

subroutine gravity_oct_m::gravity_finalize ( type(gravity_t), intent(inout)  this)
private

Definition at line 253 of file gravity.F90.