xref: /phasta/svLS/dummy_prototypes.f (revision 712d3df0b59ebebaaeaea358162c8d2c043c6e08)
1!     This software is Copyright (c) 2012-2015 The Regents of the
2!     University of California. All Rights Reserved.
3!
4!     Permission to copy and modify this software and its documentation
5!     for educational, research and non-profit purposes, without fee,
6!     and without a written agreement is hereby granted, provided that
7!     the above copyright notice, this paragraph and the following three
8!     paragraphs appear in all copies.
9!
10!     Permission to make commercial use of this software may be obtained
11!     by contacting:
12!
13!     Technology Transfer Office
14!     9500 Gilman Drive, Mail Code 0910
15!     University of California
16!     La Jolla, CA 92093-0910
17!     (858) 534-5815
18!     invent@ucsd.edu
19!
20!     This software program and documentation are copyrighted by The
21!     Regents of the University of California. The software program and
22!     documentation are supplied "as is", without any accompanying
23!     services from The Regents. The Regents does not warrant that the
24!     operation of the program will be uninterrupted or error-free. The
25!     end-user understands that the program was developed for research
26!     purposes and is advised not to rely exclusively on the program for
27!     any reason.
28!
29!     IN NO EVENT SHALL THE UNIVERSITY OF CALIFORNIA BE LIABLE TO ANY
30!     PARTY FOR DIRECT, INDIRECT, SPECIAL, INCIDENTAL, OR CONSEQUENTIAL
31!     DAMAGES, INCLUDING LOST PROFITS, ARISING OUT OF THE USE OF THIS
32!     SOFTWARE AND ITS DOCUMENTATION, EVEN IF THE UNIVERSITY OF
33!     CALIFORNIA HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
34!     THE UNIVERSITY OF CALIFORNIA SPECIFICALLY DISCLAIMS ANY
35!     WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
36!     OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE
37!     SOFTWARE PROVIDED HEREUNDER IS ON AN "AS IS" BASIS, AND THE
38!     UNIVERSITY OF CALIFORNIA HAS NO OBLIGATIONS TO PROVIDE
39!     MAINTENANCE, SUPPORT, UPDATES, ENHANCEMENTS, OR MODIFICATIONS.
40
41      SUBROUTINE svLS_COMMU_CREATE(commu, commi)
42            INCLUDE "svLS_STD.h"
43            TYPE(svLS_commuType), INTENT(INOUT) :: commu
44            INTEGER(KIND=MPI_ADDRESS_KIND), INTENT(IN) :: commi
45      END SUBROUTINE svLS_COMMU_CREATE
46
47      SUBROUTINE svLS_COMMU_FREE(commu)
48            INCLUDE "svLS_STD.h"
49            TYPE(svLS_commuType), INTENT(INOUT) :: commu
50      END SUBROUTINE svLS_COMMU_FREE
51
52      SUBROUTINE svLS_LHS_CREATE(lhs, commu, gnNo, nNo, nnz,
53     2      gNodes, rowPtr, colPtr, nFaces)
54            INCLUDE "svLS_STD.h"
55            TYPE(svLS_lhsType), INTENT(INOUT) :: lhs
56            TYPE(svLS_commuType), INTENT(IN) :: commu
57            INTEGER, INTENT(IN) :: gnNo, nNo, nnz
58            INTEGER, INTENT(IN) :: gNodes(nNo), rowPtr(nNo+1),
59     2         colPtr(nnz)
60            INTEGER, INTENT(IN) :: nFaces
61      END SUBROUTINE svLS_LHS_CREATE
62
63      SUBROUTINE svLS_LHS_FREE(lhs)
64            INCLUDE "svLS_STD.h"
65            TYPE(svLS_lhsType), INTENT(INOUT) :: lhs
66      END SUBROUTINE svLS_LHS_FREE
67
68       SUBROUTINE svLS_LS_CREATE(ls, LS_type, relTol, absTol, maxItr,
69     2      dimKry, relTolIn, absTolIn, maxItrIn)
70            INCLUDE "svLS_STD.h"
71            TYPE(svLS_lsType), INTENT(INOUT) :: ls
72            INTEGER, INTENT(IN) :: LS_type
73            REAL*8, INTENT(IN), OPTIONAL :: relTol, absTol, relTolIn(2),
74     2         absTolIn(2)
75            INTEGER, INTENT(IN), OPTIONAL :: maxItr, dimKry, maxItrIn(2)
76       END SUBROUTINE svLS_LS_CREATE
77
78       SUBROUTINE svLS_LS_FREE(ls)
79            INCLUDE "svLS_STD.h"
80            TYPE(svLS_lsType), INTENT(INOUT) :: ls
81       END SUBROUTINE svLS_LS_FREE
82
83       SUBROUTINE svLS_BC_CREATE(lhs, faIn, nNo, dof, BC_type,
84     2         gNodes, Val)
85            INCLUDE "svLS_STD.h"
86            TYPE(svLS_lhsType), INTENT(INOUT) :: lhs
87            INTEGER, INTENT(IN) :: faIn, nNo, dof
88            INTEGER, INTENT(IN) :: BC_type
89            INTEGER, INTENT(IN) :: gNodes(nNo)
90            REAL*8, INTENT(IN), OPTIONAL :: Val(dof,nNo)
91       END SUBROUTINE svLS_BC_CREATE
92
93       SUBROUTINE svLS_BC_FREE(lhs, faIn)
94            INCLUDE "svLS_STD.h"
95            TYPE(svLS_lhsType), INTENT(INOUT) :: lhs
96            INTEGER, INTENT(IN) :: faIn
97       END SUBROUTINE svLS_BC_FREE
98
99       SUBROUTINE svLS_SOLVE (lhs, ls, dof, Ri, Val, res)
100            INCLUDE "svLS_STD.h"
101            TYPE(svLS_lhsType), INTENT(INOUT) :: lhs
102            TYPE(svLS_lsType), INTENT(INOUT) :: ls
103            INTEGER, INTENT(IN) :: dof
104            REAL*8, INTENT(INOUT) :: Ri(dof,lhs%nNo)
105            REAL*8, INTENT(IN) :: Val(dof*dof,lhs%nnz)
106            REAL*8, INTENT(IN), OPTIONAL :: res(lhs%nFaces)
107       END SUBROUTINE svLS_SOLVE
108
109
110
111
112
113