mumps.h
Go to the documentation of this file.
1 //LIC// ====================================================================
2 //LIC// This file forms part of oomph-lib, the object-oriented,
3 //LIC// multi-physics finite-element library, available
4 //LIC// at http://www.oomph-lib.org.
5 //LIC//
6 //LIC// Version 1.0; svn revision $LastChangedRevision: 1097 $
7 //LIC//
8 //LIC// $LastChangedDate: 2015-12-17 11:53:17 +0000 (Thu, 17 Dec 2015) $
9 //LIC//
10 //LIC// Copyright (C) 2006-2016 Matthias Heil and Andrew Hazel
11 //LIC//
12 //LIC// This library is free software; you can redistribute it and/or
13 //LIC// modify it under the terms of the GNU Lesser General Public
14 //LIC// License as published by the Free Software Foundation; either
15 //LIC// version 2.1 of the License, or (at your option) any later version.
16 //LIC//
17 //LIC// This library is distributed in the hope that it will be useful,
18 //LIC// but WITHOUT ANY WARRANTY; without even the implied warranty of
19 //LIC// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20 //LIC// Lesser General Public License for more details.
21 //LIC//
22 //LIC// You should have received a copy of the GNU Lesser General Public
23 //LIC// License along with this library; if not, write to the Free Software
24 //LIC// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
25 //LIC// 02110-1301 USA.
26 //LIC//
27 //LIC// The authors may be contacted at oomph-lib@maths.man.ac.uk.
28 //LIC//
29 //LIC//====================================================================
30 /*cfortran.h headers for the mumps routines*/
31 
32 
33 
34 PROTOCCALLSFSUB1(MUMPS_SETUP_SOLVER_POOL,mumps_setup_solver_pool,INT)
35 #define mumps_setup_solver_pool(N_POOL) CCALLSFSUB1(MUMPS_SETUP_SOLVER_POOL,mumps_setup_solver_pool,INT,N_POOL)
36 
38 #define mumps_setup(I_POOL,S) CCALLSFSUB2(MUMPS_SETUP,mumps_setup,INT,INT,I_POOL,S)
39 
40 
41 PROTOCCALLSFSUB2(MUMPS_SET_WORKSPACE_SCALING_FACTOR,mumps_set_workspace_scaling_factor,INT,INT)
42 #define mumps_set_workspace_scaling_factor(I_POOL,S) CCALLSFSUB2(MUMPS_SET_WORKSPACE_SCALING_FACTOR,mumps_set_workspace_scaling_factor,INT,INT,I_POOL,S)
43 
44 
46 #define mumps_switch_on_doc(I_POOL) CCALLSFSUB1(MUMPS_SWITCH_ON_DOC,mumps_switch_on_doc,INT,I_POOL)
47 
48 
49 PROTOCCALLSFSUB1(MUMPS_SWITCH_OFF_DOC,mumps_switch_off_doc,INT)
50 #define mumps_switch_off_doc(I_POOL) CCALLSFSUB1(MUMPS_SWITCH_OFF_DOC,mumps_switch_off_doc,INT,I_POOL)
51 
52 
53 PROTOCCALLSFSUB6(MUMPS_FACTORISE,mumps_factorise,INT,INT,INT,INTV,INTV,DOUBLEV)
54 #define mumps_factorise(I_POOL,N,NZ_LOC,IRN_LOC,JCN_LOC,A_LOC) CCALLSFSUB6(MUMPS_FACTORISE,mumps_factorise,INT,INT,INT,INTV,INTV,DOUBLEV,I_POOL,N,NZ_LOC,IRN_LOC,JCN_LOC,A_LOC)
55 
57 #define mumps_solve(I_POOL,N,NZ_LOC,IRN_LOC,JCN_LOC,A_LOC,RHS) CCALLSFSUB7(MUMPS_SOLVE,mumps_solve,INT,INT,INT,INTV,INTV,DOUBLEV,DOUBLEV,I_POOL,N,NZ_LOC,IRN_LOC,JCN_LOC,A_LOC,RHS)
58 
59 
61 #define mumps_backsub(I_POOL,N,RHS) CCALLSFSUB3(MUMPS_BACKSUB,mumps_backsub,INT,INT,DOUBLEV,I_POOL,N,RHS)
62 
63 
64 PROTOCCALLSFSUB1(MUMPS_CLEANUP_MEMORY,mumps_cleanup_memory,INT)
65 #define mumps_cleanup_memory(I_POOL) CCALLSFSUB1(MUMPS_CLEANUP_MEMORY,mumps_cleanup_memory,INT,I_POOL)
66 
67 
69 #define mumps_shutdown(I_POOL) CCALLSFSUB1(MUMPS_SHUTDOWN,mumps_shutdown,INT,I_POOL)
subroutine mumps_set_workspace_scaling_factor(i_pool, s)
PROTOCCALLSFSUB1(MUMPS_SETUP_SOLVER_POOL, mumps_setup_solver_pool, INT) PROTOCCALLSFSUB2(MUMPS_SETUP
INT
Definition: mumps.h:37
mumps_factorise
Definition: mumps.h:53
subroutine mumps_switch_off_doc(i_pool)
PROTOCCALLSFSUB2(MUMPS_SET_WORKSPACE_SCALING_FACTOR, mumps_set_workspace_scaling_factor, INT, INT) PROTOCCALLSFSUB1(MUMPS_SWITCH_ON_DOC
mumps_setup
Definition: mumps.h:37
subroutine mumps_solve(i_pool, n, nz_loc, irn_loc, jcn_loc, a_loc, rhs)
subroutine mumps_cleanup_memory(i_pool)
DOUBLEV
Definition: arpack.h:35
mumps_switch_on_doc
Definition: mumps.h:45
subroutine mumps_setup_solver_pool(max_n_solvers)
mumps_shutdown
Definition: mumps.h:68
mumps_backsub
Definition: mumps.h:60
PROTOCCALLSFSUB7(MUMPS_SOLVE, mumps_solve, INT, INT, INT, INTV, INTV, DOUBLEV, DOUBLEV) PROTOCCALLSFSUB3(MUMPS_BACKSUB
PROTOCCALLSFSUB3(MA42ID, ma42id, INTV, DOUBLEV, INTV) PROTOCCALLSFSUB8(MA42AD
INTV
Definition: mumps.h:53