Octopus
gravity_oct_m::gravity_t Interface Reference

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...

Detailed Description

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.

Definition at line 135 of file gravity.F90.

Inheritance diagram for gravity_oct_m::gravity_t:
Inheritance graph

Public Attributes

integer, public partner_np = 0
 number of particles in the partner system More...
 
real(real64), dimension(:), allocatable, public partner_mass
 array storing a copy of the masses of the partner particles More...
 
real(real64), dimension(:,:), allocatable, public partner_pos
 array storing a copy of the positions of the partner particles More...
 
- Public Attributes inherited from force_interaction_oct_m::force_interaction_t
real(real64), dimension(:,:), allocatable, public force
 

Private Member Functions

procedure init => gravity_init
 
procedure calculate => gravity_calculate
 
procedure calculate_energy => gravity_calculate_energy
 
final gravity_finalize
 
class(gravity_t) function, pointer gravity_constructor (partner)
 

Private Attributes

real(real64), dimension(:), pointer system_mass => NULL()
 pointer to array storing the masses of the particles More...
 
real(real64), dimension(:,:), pointer system_pos => NULL()
 pointer to array storing the positions of the particles More...
 

Member Function/Subroutine Documentation

◆ init()

procedure gravity_oct_m::gravity_t::init
private

Definition at line 145 of file gravity.F90.

◆ calculate()

procedure gravity_oct_m::gravity_t::calculate
private

Definition at line 146 of file gravity.F90.

◆ calculate_energy()

procedure gravity_oct_m::gravity_t::calculate_energy
private

Definition at line 147 of file gravity.F90.

◆ gravity_finalize()

final gravity_oct_m::gravity_t::gravity_finalize
finalprivate

Definition at line 148 of file gravity.F90.

◆ gravity_constructor()

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

Definition at line 157 of file gravity.F90.

Member Data Documentation

◆ system_mass

real(real64), dimension(:), pointer gravity_oct_m::gravity_t::system_mass => NULL()
private

pointer to array storing the masses of the particles

Definition at line 137 of file gravity.F90.

◆ system_pos

real(real64), dimension(:,:), pointer gravity_oct_m::gravity_t::system_pos => NULL()
private

pointer to array storing the positions of the particles

Definition at line 138 of file gravity.F90.

◆ partner_np

integer, public gravity_oct_m::gravity_t::partner_np = 0

number of particles in the partner system

Definition at line 140 of file gravity.F90.

◆ partner_mass

real(real64), dimension(:), allocatable, public gravity_oct_m::gravity_t::partner_mass

array storing a copy of the masses of the partner particles

Definition at line 141 of file gravity.F90.

◆ partner_pos

real(real64), dimension(:,:), allocatable, public gravity_oct_m::gravity_t::partner_pos

array storing a copy of the positions of the partner particles

Definition at line 142 of file gravity.F90.


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