ScaFaCoS  1.0.1
Scalable Fast Coulomb Solvers
fcs_run Interface Reference

Public Member Functions

type(c_ptr) function fcs_run (handle, n_locparts, positions, charges, fields, potentials)
 

Detailed Description

Definition at line 158 of file fcs4fortran.f90.

Constructor & Destructor Documentation

◆ fcs_run()

type(c_ptr) function fcs_run ( type(c_ptr), value  handle,
integer(kind = fcs_integer_kind_isoc), value  n_locparts,
real(kind = fcs_real_kind_isoc), dimension(3*n_locparts)  positions,
real(kind = fcs_real_kind_isoc), dimension(n_locparts)  charges,
real(kind = fcs_real_kind_isoc), dimension(3*n_locparts)  fields,
real(kind = fcs_real_kind_isoc), dimension(n_locparts)  potentials 
)

Definition at line 160 of file fcs4fortran.f90.

160  use iso_c_binding
161  implicit none
162  type(c_ptr),value :: handle
163  integer(kind = fcs_integer_kind_isoc),value :: n_locparts
164  real(kind = fcs_real_kind_isoc) :: positions(3*n_locparts)
165  real(kind = fcs_real_kind_isoc) :: charges(n_locparts)
166  real(kind = fcs_real_kind_isoc) :: fields(3*n_locparts)
167  real(kind = fcs_real_kind_isoc) :: potentials(n_locparts)
168  type(c_ptr) :: fcs_run
FCSResult fcs_run(FCS handle, fcs_int local_particles, fcs_float *positions, fcs_float *charges, fcs_float *field, fcs_float *potentials)
function to run the solver method

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