aboutsummaryrefslogtreecommitdiff
path: root/src/template.h
blob: b5ef2025324d272061273d260d82262d58db0af0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
/*@@
  @file     template.h
  @date     22 Jan 2002
  @author   Jonathan Thornburg
  @desc     prototype for template function in "template.c"
            (also used for function pointers in "InterpLocalUniform.c")
  @enddesc
  @version  $Header$
  @@*/
int FUNCTION_NAME(/***** coordinate system *****/
		  const CCTK_REAL *restrict coord_origin,
		  const CCTK_REAL *restrict coord_delta,
		  /***** interpolation points *****/
		  int N_interp_points,
		  int interp_coords_type_code,
		  const void *restrict const *restrict interp_coords,
		  const CCTK_INT *restrict N_boundary_points_to_omit,
		  const CCTK_REAL *restrict boundary_off_centering_tolerance,
		  const CCTK_REAL *restrict boundary_extrapolation_tolerance,
		  /***** input arrays *****/
		  int N_input_arrays,
		  const CCTK_INT *restrict input_array_offsets,
		  const CCTK_INT *restrict input_array_strides,
		  const CCTK_INT *restrict input_array_min_subscripts,
		  const CCTK_INT *restrict input_array_max_subscripts,
		  const CCTK_INT *restrict input_array_type_codes,
		  const void *restrict const *restrict input_arrays,
		  /***** output arrays *****/
		  int N_output_arrays,
		  const CCTK_INT *restrict output_array_type_codes,
		  void* const *restrict output_arrays,
		  /***** operation info *****/
		  const CCTK_INT *restrict operand_indices,
		  const CCTK_INT *restrict operation_codes,
		  /***** debugging *****/
		  int debug, FILE* log_fp,
		  /***** other return results *****/
		  struct error_info* error_info,
		  struct molecule_structure_flags* molecule_structure_flags,
		  struct molecule_min_max_m_info* molecule_min_max_m_info,
		  CCTK_INT *restrict const *restrict molecule_positions,
		  struct Jacobian_info *restrict Jacobian_info);