M2 Fortran library

M2 library

SUSUKITA, Ryutaro1

The M2 library is used to access and manipulate the MDGRAPE-2 boards from C programs. The library can be linked with the parameters "-L/usr/local/lib -lm2"

Units
m2_allocate_unit
m2_allocate_periodic_unit
m2_free_unit
m2_get_num_pipelines
m2_set_host_function
m2_set_positions
m2_set_rscale
m2_set_rscales
m2_set_rscale_matrix
m2_set_charge
m2_set_charges
m2_set_charge_matrix
m2_set_types
m2_set_pipeline_types
m2_set_softening
m2_set_softenings
m2_set_softening_matrix
m2_set_pipeline_softenings
m2_set_particle_offset
m2_set_cells
m2_set_neighbor_radius
m2_set_neighbor_radii
m2_set_neighbor_radius_matrix
m2_set_pipeline_neighbor_radii
m2_calculate_forces
m2_calculate_potentials
m2_start_force_calculation
m2_start_potential_calculation
m2_wait_calculation
m2_get_neighbors

Groups
m2_allocate_group
m2_allocate_member
m2_allocate_periodic_member
m2_free_group
m2_get_num_group_pipelines
m2_set_member_positions
m2_wait_member_calculation


Units

A unit is a logical unit resources of one or more MDGRAPE-2 boards are allocated for. Units have all data necessary to use MDGRAPE-2. For units, M2 library provides the following functions and subroutines. The function names and constant names used for the functions and the subroutines are declared in 'm2_unit.h'.


Groups

A group is a group of units resources of one or more MDGRAPE-2 boards are allocated for. For groups, M2 library provides the following functions. The function names and constant names for the functions are declared in 'm2_group.h'.

About this document ...

M2 library

This document was generated using the LaTeX2HTML translator Version 99.2beta6 (1.42)

Copyright © 1993, 1994, 1995, 1996, Nikos Drakos, Computer Based Learning Unit, University of Leeds.
Copyright © 1997, 1998, 1999, Ross Moore, Mathematics Department, Macquarie University, Sydney.

The command line arguments were:
latex2html -split 0 fortran_document

The translation was initiated by on 2001-05-10


Footnotes

... Ryutaro1
susukita@postman.riken.go.jp

2001-05-10