source: ThirdParty/vmg/src/units/particle/interface_fcs.h

Candidate_v1.6.1
Last change on this file was 7faa5c, checked in by Frederik Heber <heber@…>, 8 years ago

Merge commit 'de061d9d851257a04e924d4472df4523d33bb08b' as 'ThirdParty/vmg'

  • Property mode set to 100644
File size: 1.5 KB
Line 
1/*
2 * vmg - a versatile multigrid solver
3 * Copyright (C) 2012 Institute for Numerical Simulation, University of Bonn
4 *
5 * vmg is free software: you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation, either version 3 of the License, or
8 * (at your option) any later version.
9 *
10 * vmg is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
14 *
15 * You should have received a copy of the GNU General Public License
16 * along with this program. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19/**
20 * @file interface_fcs.h
21 * @author Julian Iseringhausen <isering@ins.uni-bonn.de>
22 * @date Tue Apr 12 17:39:27 2011
23 *
24 * @brief Scafacos C interface.
25 *
26 *
27 */
28
29#ifdef __cplusplus
30extern "C" {
31#endif
32
33void VMG_fcs_setup(fcs_int level, fcs_int* periodic, fcs_int max_iter,
34 fcs_int smoothing_steps, fcs_int cycle_type, fcs_float precision,
35 fcs_float* box_offset, fcs_float box_size,
36 fcs_int near_field_cells, fcs_int interpolation_degree,
37 fcs_int discretization_order, MPI_Comm mpi_comm);
38
39int VMG_fcs_check();
40
41void VMG_fcs_run(fcs_float* pos, fcs_float* charge, fcs_float* potential, fcs_float* f, fcs_int num_particles_local);
42
43void VMG_fcs_print_timer(void);
44
45void VMG_fcs_destroy(void);
46
47#ifdef __cplusplus
48} /* extern "C" */
49#endif
Note: See TracBrowser for help on using the repository browser.