PLUTO
4.0
Main Page
Related Pages
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Enumerations
Macros
Pages
Src
Parallel
al_proto.h
Go to the documentation of this file.
1
/* ///////////////////////////////////////////////////////////////////// */
14
/* ///////////////////////////////////////////////////////////////////// */
15
16
#ifndef __AL_PROTO
17
#define __AL_PROTO
18
19
20
#ifdef __cplusplus
21
extern
"C"
{
22
#endif
23
/* External prototypes */
24
extern
int
AL_Init
(
int
*,
char
***);
25
extern
int
AL_Finalize
();
26
extern
int
AL_Initialized
();
27
extern
int
AL_Sz_init
(MPI_Comm,
int
*);
28
extern
int
AL_Free(
int
);
29
extern
int
AL_Sz_free
(
int
);
30
extern
int
AL_Valid_ptr
(
int
);
31
32
extern
int
AL_Set_comm
(MPI_Comm,
int
);
33
extern
int
AL_Set_dimensions
(
int
,
int
);
34
extern
int
AL_Set_type
(AL_Datatype,
int
,
int
);
35
extern
int
AL_Set_global_dim
(
int
*,
int
);
36
extern
int
AL_Set_local_dim
(
int
*,
int
);
37
extern
int
AL_Set_parallel_dim
(
int
*,
int
);
38
extern
int
AL_Set_periodic_dim
(
int
*,
int
);
39
extern
int
AL_Set_staggered_dim
(
int
*,
int
);
40
extern
int
AL_Set_ghosts
(
int
*,
int
);
41
42
extern
int
AL_Get_size
(
int
,
int
*);
43
extern
int
AL_Get_comm
(
int
, MPI_Comm *);
44
extern
int
AL_Get_cart_comm
(
int
, MPI_Comm *);
45
extern
int
AL_Get_dimensions
(
int
,
int
*);
46
extern
int
AL_Get_type
(
int
,AL_Datatype *);
47
extern
int
AL_Get_buffsize
(
int
,
int
*);
48
extern
int
AL_Get_global_dim
(
int
,
int
*);
49
extern
int
AL_Get_local_dim
(
int
,
int
*);
50
extern
int
AL_Get_local_dim_gp
(
int
,
int
*);
51
extern
int
AL_Get_parallel_dim
(
int
,
int
*);
52
extern
int
AL_Get_periodic_dim
(
int
,
int
* );
53
extern
int
AL_Get_staggered_dim
(
int
,
int
*);
54
extern
int
AL_Get_ghosts
(
int
,
int
*);
55
extern
int
AL_Get_offsets
(
int
,
int
*);
56
extern
int
AL_Get_ghosts
(
int
,
int
*);
57
extern
int
AL_Get_lbounds
(
int
,
int
*,
int
*,
int
*,
int
);
58
extern
int
AL_Get_gbounds
(
int
,
int
*,
int
*,
int
*,
int
);
59
extern
int
AL_Get_bounds
(
int
,
int
*,
int
*,
int
*,
int
);
60
61
extern
int
AL_Is_boundary
(
int
,
int
*,
int
*);
62
extern
int
AL_Get_stride
(
int
,
int
*);
63
64
extern
int
AL_Decompose
(
int
,
int
*,
int
);
65
extern
int
AL_Type_create_subarray
(
int
,
int
*,
int
*,
int
*,
int
, MPI_Datatype, MPI_Datatype *);
66
67
extern
void
*
AL_Allocate_array
(
int
);
68
extern
int
AL_Exchange
(
void
*,
int
);
69
extern
int
AL_Exchange_dim
(
char
*,
int
*,
int
);
70
extern
int
AL_Exchange_periods
(
void
*vbuf,
int
*periods,
int
sz_ptr);
71
72
extern
int
AL_File_open
(
char
*,
int
);
73
extern
long
long
AL_Get_offset(
int
);
74
extern
int
AL_Set_offset(
int
,
long
long
);
75
76
extern
int
AL_Write_header(
void
*,
int
, AL_Datatype,
int
);
77
extern
int
AL_File_close
(
int
);
78
extern
int
AL_Write_common(
void
*,
int
, AL_Datatype,
int
);
79
extern
int
AL_Read_common(
void
*,
int
, AL_Datatype,
int
);
80
extern
int
AL_Write_array
(
void
*,
int
,
int
);
81
extern
int
AL_Read_array
(
void
*,
int
,
int
);
82
83
extern
int
AL_Write_array_begin
(
void
*,
int
,
int
*,
int
*,
int
);
84
extern
int
AL_Write_array_end
(
void
*,
int
);
85
/*
86
extern int AL_Write_array_begin(void *, int, int, int *, int);
87
extern int AL_Write_array_end(void *, int);
88
*/
89
/* Internals prototypes */
90
extern
int
AL_Init_stack_
();
91
extern
int
AL_Allocate_sz_
();
92
extern
int
AL_Deallocate_sz_
(
int
);
93
extern
int
AL_Auto_Decomp_
(
int
,
int
,
int
*,
int
*);
94
extern
int
AL_Sort_
(
int
,
int
*,
int
*);
95
96
#ifdef __cplusplus
97
}
98
#endif
99
100
#endif
/* End ifdef __AL_PROTO */
Generated on Fri Nov 9 2012 13:15:47 for PLUTO by
1.8.2