44 #ifndef EPETRA_C_WRAPPERS_H
45 #define EPETRA_C_WRAPPERS_H
47 #if defined(Epetra_SHOW_DEPRECATED_WARNINGS)
49 #warning "The Epetra package is deprecated"
62 #define EPETRA_DEREF(a) *a
64 #ifdef EPETRA_ADDRESS64BIT
82 #define EPETRA_DEREF(a) a
91 #if defined(TRILINOS_HAVE_NO_FORTRAN_UNDERSCORE)
94 #define MANGLE(x) x ## __
128 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
145 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
164 #ifndef EPETRA_FORTRAN
165 #ifndef EPETRA_NO_32BIT_GLOBAL_INDICES
169 #ifndef EPETRA_NO_64BIT_GLOBAL_INDICES
214 double* vals,
int* blk_col_inds);
221 EPETRA_MULTIVECTOR x,
222 EPETRA_MULTIVECTOR y);
236 double* vals,
int* col_inds);
247 EPETRA_MULTIVECTOR x,
248 EPETRA_MULTIVECTOR y);
270 double **in_multivector,
EPETRA_INT numvectors);
281 in_multivector,
EPETRA_INT numvectors,
int *vecIndices);
286 int MANGLE(epetra_multivector_putmultivector)(EPETRA_MULTIVECTOR multivector,
287 double **in_multivector);
291 int MANGLE(epetra_multivector_allocate)(EPETRA_MULTIVECTOR multivector,
294 int MANGLE(epetra_multivector_putscalar)(EPETRA_MULTIVECTOR multivector,
EPETRA_DOUBLE scalar);
296 int MANGLE(epetra_multivector_scale)
299 int MANGLE(epetra_multivector_scalecopy)
300 (EPETRA_MULTIVECTOR multiVector, EPETRA_MULTIVECTOR multiVector_in,
303 int MANGLE(epetra_multivector_dotprod)
304 (EPETRA_MULTIVECTOR multiVector, EPETRA_MULTIVECTOR multiVector_in,
307 int MANGLE(epetra_multivector_addvec)
309 EPETRA_MULTIVECTOR multiVector_in);
311 int MANGLE(epetra_multivector_norm1)(EPETRA_MULTIVECTOR multivector,
double *result);
313 int MANGLE(epetra_multivector_norm2)(EPETRA_MULTIVECTOR multivector,
double *result);
315 int MANGLE(epetra_multivector_lincomb)(EPETRA_MULTIVECTOR multivector,
316 EPETRA_MULTIVECTOR b,
319 int MANGLE(epetra_multivector_random)(EPETRA_MULTIVECTOR multivector);
323 int MANGLE(epetra_multivector_numvectors)(EPETRA_MULTIVECTOR multivector);
325 int MANGLE(epetra_multivector_reduce)(EPETRA_MULTIVECTOR multivector);
327 int MANGLE(eepetra_multivector_gemm)(EPETRA_MULTIVECTOR multivector,
329 EPETRA_MULTIVECTOR A, EPETRA_MULTIVECTOR
B,
332 void MANGLE(epetra_multivector_destroy)(EPETRA_MULTIVECTOR multivector);
341 int* blockSizes,
EPETRA_INT indexBase, EPETRA_COMM comm);
345 int* blockSizes,
EPETRA_INT indexBase, EPETRA_COMM comm);
347 void MANGLE(epetra_blockmap_destroy)(EPETRA_BLOCKMAP blockmap);
356 void MANGLE(epetra_localmap_destroy)(EPETRA_LOCALMAP localmap);
373 void MANGLE(epetra_localblockmap_destroy)(EPETRA_LOCALBLOCKMAP localblockmap);
void MANGLE() epetra_vector_destroy(EPETRA_OBJECT_REF x)
EPETRA_OBJECT_PTR MANGLE() epetra_map_create2_64(EPETRA_LONG_LONG numGlobalElements, EPETRA_INT numMyElements, EPETRA_LONG_LONG indexBase, EPETRA_OBJECT_REF comm)
EPETRA_OBJECT_PTR MANGLE() epetra_serialcomm_create()
EPETRA_OBJECT_PTR MANGLE() epetra_mpicomm_create1()
Epetra_Comm.
int MANGLE() epetra_vector_putscalar(EPETRA_OBJECT_REF x, EPETRA_DOUBLE scalar)
void MANGLE() epetra_comm_barrier(EPETRA_OBJECT_REF comm)
int MANGLE() epetra_map_nummyelements(EPETRA_OBJECT_REF map)
long long MANGLE() epetra_map_numglobalelements(EPETRA_OBJECT_REF map)
EPETRA_OBJECT_PTR MANGLE() epetra_map_create3(EPETRA_INT numGlobalElements, EPETRA_INT numLocalElements, int *updateList, EPETRA_INT indexBase, EPETRA_OBJECT_REF comm)
int MANGLE() epetra_comm_numproc(EPETRA_OBJECT_REF comm)
EPETRA_OBJECT_PTR MANGLE() epetra_map_comm(EPETRA_OBJECT_REF map)
int *MANGLE() epetra_map_myglobalelements(EPETRA_OBJECT_REF map)
EPETRA_OBJECT_PTR MANGLE() epetra_map_create1_64(EPETRA_LONG_LONG numGlobalElements, EPETRA_LONG_LONG indexBase, EPETRA_OBJECT_REF comm)
void MANGLE() epetra_comm_destroy(EPETRA_OBJECT_REF comm)
int MANGLE() epetra_vector_norm2(EPETRA_OBJECT_REF x, double *scalar)
int MANGLE() epetra_vector_norm1(EPETRA_OBJECT_REF x, double *scalar)
void MANGLE() epetra_vector_print(EPETRA_OBJECT_REF x)
EPETRA_OBJECT_PTR MANGLE() epetra_map_create1(EPETRA_INT numGlobalElements, EPETRA_INT indexBase, EPETRA_OBJECT_REF comm)
Epetra_Map.
EPETRA_OBJECT_PTR MANGLE() epetra_vector_create1(EPETRA_OBJECT_REF map)
Epetra_Vector.
int MANGLE() epetra_comm_mypid(EPETRA_OBJECT_REF comm)
int MANGLE() epetra_vector_random(EPETRA_OBJECT_REF x)
EPETRA_OBJECT_PTR MANGLE() epetra_map_create3_64(EPETRA_LONG_LONG numGlobalElements, EPETRA_INT numLocalElements, long long *updateList, EPETRA_LONG_LONG indexBase, EPETRA_OBJECT_REF comm)
int MANGLE() epetra_vector_update(EPETRA_OBJECT_REF x, EPETRA_DOUBLE scalara, EPETRA_OBJECT_REF a, EPETRA_DOUBLE scalarb, EPETRA_OBJECT_REF b, EPETRA_DOUBLE scalarx)
EPETRA_OBJECT_PTR MANGLE() epetra_mpicomm_create2(MPI_Comm *comm)
EPETRA_OBJECT_PTR MANGLE() epetra_vector_create2(EPETRA_INT CopyValues, EPETRA_OBJECT_REF map, double *V)
void MANGLE() epetra_map_destroy(EPETRA_OBJECT_REF map)
EPETRA_OBJECT_PTR MANGLE() epetra_map_create2(EPETRA_INT numGlobalElements, EPETRA_INT numMyElements, EPETRA_INT indexBase, EPETRA_OBJECT_REF comm)
long long EPETRA_LONG_LONG
long long *MANGLE() epetra_map_myglobalelements_64(EPETRA_OBJECT_REF map)