Ice Sheet System Model  4.18
Code documentation
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
mumpsincludes.h
Go to the documentation of this file.
1 /* \file mumpsincludes.h
2  * \brief all includes for MUMPS layer
3  */
4 
5 #ifndef _MUMPS_INCLUDES_H_
6 #define _MUMPS_INCLUDES_H_
7 
8 /*{{{*/
9 #ifdef HAVE_CONFIG_H
10  #include <config.h>
11 #else
12 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
13 #endif
14 
15 #include "../../shared/Numerics/types.h"
16 /*}}}*/
17 
18 class Parameters;
19 template <class doubletype> class SparseRow;
20 
21 #ifdef _HAVE_MPI_
22 void MpiDenseMumpsSolve(IssmDouble* uf,int uf_M,int uf_n, IssmDouble* Kff,int Kff_M, int Kff_N, int Kff_m, IssmDouble* pf, int pf_M, int pf_m, Parameters* parameters);
23 void MpiSparseMumpsSolve(IssmDouble* uf,int uf_M,int uf_n, SparseRow<IssmDouble>** Kff,int Kff_M, int Kff_N, int Kff_m, IssmDouble* pf, int pf_M, int pf_m, Parameters* parameters);
24 #endif
25 void SeqDenseMumpsSolve(IssmDouble* uf,int uf_M,int uf_n, IssmDouble* Kff,int Kff_M, int Kff_N, int Kff_m, IssmDouble* pf, int pf_M, int pf_m, Parameters* parameters);
26 
27 #if defined(_HAVE_ADOLC_) && !defined(_WRAPPERS_)
28 // call back functions:
29 ADOLC_ext_fct_iArr mumpsSolveEDF;
30 ADOLC_ext_fct_iArr_fos_reverse fos_reverse_mumpsSolveEDF;
31 ADOLC_ext_fct_iArr_fov_reverse fov_reverse_mumpsSolveEDF;
32 #endif
33 
34 #endif
IssmDouble
double IssmDouble
Definition: types.h:37
Parameters
Declaration of Parameters class.
Definition: Parameters.h:18
SparseRow
Definition: SparseRow.h:13
SeqDenseMumpsSolve
void SeqDenseMumpsSolve(IssmDouble *uf, int uf_M, int uf_n, IssmDouble *Kff, int Kff_M, int Kff_N, int Kff_m, IssmDouble *pf, int pf_M, int pf_m, Parameters *parameters)
Definition: MumpsSolve.cpp:296
MpiDenseMumpsSolve
void MpiDenseMumpsSolve(IssmDouble *uf, int uf_M, int uf_m, IssmDouble *Kff, int Kff_M, int Kff_N, int Kff_m, IssmDouble *pf, int pf_M, int pf_m, Parameters *parameters)
Definition: MpiDenseMumpsSolve.cpp:109