(git:6a2e663)
particle_methods Module Reference

Define methods related to particle_type. More...

Functions/Subroutines

subroutine, public get_particle_set (particle_set, qs_kind_set, first_sgf, last_sgf, nsgf, nmao, basis)
 Get the components of a particle set. More...
 
subroutine, public write_particle_coordinates (particle_set, iunit, output_format, content, title, cell, array, unit_conv, charge_occup, charge_beta, charge_extended, print_kind)
 Should be able to write a few formats e.g. xmol, and some binary format (dcd) some format can be used for x,v,f. More...
 
subroutine, public write_fist_particle_coordinates (particle_set, subsys_section, charges)
 Write the atomic coordinates to the output unit. More...
 
subroutine, public write_qs_particle_coordinates (particle_set, qs_kind_set, subsys_section, label)
 Write the atomic coordinates to the output unit. More...
 
subroutine, public write_particle_distances (particle_set, cell, subsys_section)
 Write the matrix of the particle distances to the output unit. More...
 
subroutine, public write_particle_matrix (matrix, particle_set, iw, el_per_part, Ilist, parts_per_line)
 ... More...
 
subroutine, public write_structure_data (particle_set, cell, input_section)
 Write structure data requested by a separate structure data input section to the output unit. input_section can be either motion_section or subsys_section. More...
 

Detailed Description

Define methods related to particle_type.

History
10.2014 Move routines out of particle_types.F [Ole Schuett]
Author
Ole Schuett

Function/Subroutine Documentation

◆ get_particle_set()

subroutine, public particle_methods::get_particle_set ( type(particle_type), dimension(:), pointer  particle_set,
type(qs_kind_type), dimension(:), pointer  qs_kind_set,
integer, dimension(:), intent(inout), optional  first_sgf,
integer, dimension(:), intent(inout), optional  last_sgf,
integer, dimension(:), intent(inout), optional  nsgf,
integer, dimension(:), intent(inout), optional  nmao,
type(gto_basis_set_p_type), dimension(:), optional  basis 
)

Get the components of a particle set.

Parameters
particle_set...
qs_kind_set...
first_sgf...
last_sgf...
nsgf...
nmao...
basis...
Date
14.01.2002
History
  • particle type cleaned (13.10.2003,MK)
  • refactoring and add basis set option (17.08.2010,jhu)
Author
MK
Version
1.0

Definition at line 96 of file particle_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_particle_coordinates()

subroutine, public particle_methods::write_particle_coordinates ( type(particle_type), dimension(:), pointer  particle_set,
integer  iunit,
integer  output_format,
character(len=*)  content,
character(len=*)  title,
type(cell_type), optional, pointer  cell,
real(kind=dp), dimension(:), intent(in), optional  array,
real(kind=dp), intent(in), optional  unit_conv,
logical, intent(in), optional  charge_occup,
logical, intent(in), optional  charge_beta,
logical, intent(in), optional  charge_extended,
logical, intent(in), optional  print_kind 
)

Should be able to write a few formats e.g. xmol, and some binary format (dcd) some format can be used for x,v,f.

FORMAT CONTENT UNITS x, v, f XMOL POS, VEL, FORCE, POS_VEL, POS_VEL_FORCE Angstrom, a.u., a.u.

Parameters
particle_set...
iunit...
output_format...
content...
title...
cell...
array...
unit_conv...
charge_occup...
charge_beta...
charge_extended...
print_kind...
Date
14.01.2002
Author
MK
Version
1.0

Definition at line 179 of file particle_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_fist_particle_coordinates()

subroutine, public particle_methods::write_fist_particle_coordinates ( type(particle_type), dimension(:), pointer  particle_set,
type(section_vals_type), pointer  subsys_section,
real(kind=dp), dimension(:), optional  charges 
)

Write the atomic coordinates to the output unit.

Parameters
particle_set...
subsys_section...
charges...
Date
05.06.2000
Author
MK
Version
1.0

Definition at line 483 of file particle_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_qs_particle_coordinates()

subroutine, public particle_methods::write_qs_particle_coordinates ( type(particle_type), dimension(:), pointer  particle_set,
type(qs_kind_type), dimension(:), pointer  qs_kind_set,
type(section_vals_type), pointer  subsys_section,
character(len=*), intent(in)  label 
)

Write the atomic coordinates to the output unit.

Parameters
particle_set...
qs_kind_set...
subsys_section...
label...
Date
05.06.2000
Author
MK
Version
1.0

Definition at line 545 of file particle_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_particle_distances()

subroutine, public particle_methods::write_particle_distances ( type(particle_type), dimension(:), pointer  particle_set,
type(cell_type), pointer  cell,
type(section_vals_type), pointer  subsys_section 
)

Write the matrix of the particle distances to the output unit.

Parameters
particle_set...
cell...
subsys_section...
Date
06.10.2000
Author
Matthias Krack
Version
1.0

Definition at line 605 of file particle_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_particle_matrix()

subroutine, public particle_methods::write_particle_matrix ( real(kind=dp), dimension(:, :)  matrix,
type(particle_type), dimension(:), pointer  particle_set,
integer, intent(in)  iw,
integer, intent(in), optional  el_per_part,
integer, dimension(:), optional, pointer  Ilist,
integer, intent(in), optional  parts_per_line 
)

...

Parameters
matrix...
particle_set...
iw...
el_per_part...
Ilist...
parts_per_line: number of particle columns to be printed in one line

Definition at line 715 of file particle_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ write_structure_data()

subroutine, public particle_methods::write_structure_data ( type(particle_type), dimension(:), pointer  particle_set,
type(cell_type), pointer  cell,
type(section_vals_type), pointer  input_section 
)

Write structure data requested by a separate structure data input section to the output unit. input_section can be either motion_section or subsys_section.

Parameters
particle_set...
cell...
input_section...
Date
11.03.04
History
Recovered (23.03.06,MK)
Author
MK
Version
1.0

Definition at line 785 of file particle_methods.F.

Here is the call graph for this function:
Here is the caller graph for this function: