~ubuntu-branches/ubuntu/warty/petsc/warty

« back to all changes in this revision

Viewing changes to src/fortran/auto/chebyf.c.html

  • Committer: Bazaar Package Importer
  • Author(s): Adam C. Powell, IV
  • Date: 2004-06-07 13:41:43 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20040607134143-92p586zrauvie0le
Tags: 2.2.0-2
* Upstream patch level 2.
* New PETSC_BOPT_EXTRA option for different BOPT and lib names, with _c++
  symlinks only for plain and single (closes: #249617).
* New DEBIAN_DIST=contrib option to link with hypre, parmetis (closes:
  #249619).
* Combined petsc-c and petsc-fortran substvars into petsc-compilers.
* Extra quote in -dev prerm eliminates "too many arguments" problem.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<center><a href="chebyf.c">Actual source code: chebyf.c</a></center><br>
2
 
 
3
 
<html>
4
 
<head>
5
 
<title></title>
6
 
<meta name="generator" content="c2html 0.9.1">
7
 
<meta name="date" content="2002-05-31T16:59:44+00:00">
8
 
</head>
9
 
 
10
 
<body bgcolor="#FFFFFF">
11
 
<pre width="80"><a name="line1">  1: </a><font color="#B22222">/* cheby.c */</font>
12
 
<a name="line2">  2: </a><font color="#B22222">/* Fortran interface file */</font>
13
 
 
14
 
<a name="line4">  4: </a><font color="#B22222">/*</font>
15
 
<a name="line5">  5: </a><font color="#B22222">* This file was generated automatically by bfort from the C source</font>
16
 
<a name="line6">  6: </a><font color="#B22222">* file.  </font>
17
 
<a name="line7">  7: </a><font color="#B22222"> */</font>
18
 
 
19
 
<a name="line9">  9: </a><font color="#A020F0">#ifdef PETSC_USE_POINTER_CONVERSION</font>
20
 
<a name="line10"> 10: </a><font color="#A020F0">#if defined(__cplusplus)</font>
21
 
<a name="line11"> 11: </a>extern <font color="#666666">"C"</font> {
22
 
<a name="line12"> 12: </a><font color="#A020F0">#endif </font>
23
 
<a name="line13"> 13: </a><strong><font color="#4169E1">extern void *PetscToPointer(void *)</font></strong>;
24
 
<a name="line14"> 14: </a><strong><font color="#4169E1">extern int PetscFromPointer(void *)</font></strong>;
25
 
<a name="line15"> 15: </a><strong><font color="#4169E1">extern void PetscRmPointer(void *)</font></strong>;
26
 
<a name="line16"> 16: </a><font color="#A020F0">#if defined(__cplusplus)</font>
27
 
<a name="line17"> 17: </a>}
28
 
<a name="line18"> 18: </a><font color="#A020F0">#endif </font>
29
 
 
30
 
<a name="line20"> 20: </a><font color="#A020F0">#else</font>
31
 
 
32
 
<a name="line22"> 22: </a><strong><font color="#228B22">#define PetscToPointer(a) (*(long *)(a))</font></strong>
33
 
<a name="line23"> 23: </a><strong><font color="#228B22">#define PetscFromPointer(a) (long)(a)</font></strong>
34
 
<a name="line24"> 24: </a><strong><font color="#228B22">#define PetscRmPointer(a)</font></strong>
35
 
<a name="line25"> 25: </a><font color="#A020F0">#endif</font>
36
 
 
37
 
<a name="line27"> 27: </a><font color="#A020F0">#include </font><font color="#666666">"petscfix.h"</font><font color="#A020F0"></font>
38
 
<a name="line28"> 28: </a> #include <A href="../../../include/petscksp.h.html">petscksp.h</A>
39
 
<a name="line29"> 29: </a><font color="#A020F0">#ifdef MPI_BUILD_PROFILING</font>
40
 
<a name="line30"> 30: </a><font color="#A020F0">#ifdef PETSC_HAVE_FORTRAN_CAPS</font>
41
 
<a name="line31"> 31: </a><strong><font color="#228B22">#define kspchebychevseteigenvalues_ PKSPCHEBYCHEVSETEIGENVALUES</font></strong>
42
 
<a name="line32"> 32: </a><font color="#A020F0">#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) &amp;&amp; !defined(FORTRANDOUBLEUNDERSCORE)</font>
43
 
<a name="line33"> 33: </a><strong><font color="#228B22">#define kspchebychevseteigenvalues_ pkspchebychevseteigenvalues</font></strong>
44
 
<a name="line34"> 34: </a><font color="#A020F0">#else</font>
45
 
<a name="line35"> 35: </a><strong><font color="#228B22">#define kspchebychevseteigenvalues_ pkspchebychevseteigenvalues_</font></strong>
46
 
<a name="line36"> 36: </a><font color="#A020F0">#endif</font>
47
 
<a name="line37"> 37: </a><font color="#A020F0">#else</font>
48
 
<a name="line38"> 38: </a><font color="#A020F0">#ifdef PETSC_HAVE_FORTRAN_CAPS</font>
49
 
<a name="line39"> 39: </a><strong><font color="#228B22">#define kspchebychevseteigenvalues_ KSPCHEBYCHEVSETEIGENVALUES</font></strong>
50
 
<a name="line40"> 40: </a><font color="#A020F0">#elif !defined(PETSC_HAVE_FORTRAN_UNDERSCORE) &amp;&amp; !defined(FORTRANDOUBLEUNDERSCORE)</font>
51
 
<a name="line41"> 41: </a><strong><font color="#228B22">#define kspchebychevseteigenvalues_ kspchebychevseteigenvalues</font></strong>
52
 
<a name="line42"> 42: </a><font color="#A020F0">#endif</font>
53
 
<a name="line43"> 43: </a><font color="#A020F0">#endif</font>
54
 
 
55
 
 
56
 
 
57
 
<a name="line47"> 47: </a><font color="#B22222">/* Definitions of Fortran Wrapper routines */</font>
58
 
<a name="line48"> 48: </a><font color="#A020F0">#if defined(__cplusplus)</font>
59
 
<a name="line49"> 49: </a>extern <font color="#666666">"C"</font> {
60
 
<a name="line50"> 50: </a><font color="#A020F0">#endif</font>
61
 
<a name="line51"> 51: </a><strong><font color="#4169E1"><a name="kspchebychevseteigenvalues_"></a>void PETSC_STDCALL kspchebychevseteigenvalues_(<A href="../../../docs/manualpages/KSP/KSP.html#KSP">KSP</A> ksp,PetscReal *emax,PetscReal *emin, int *ierr )</font></strong>{
62
 
<a name="line52"> 52: </a><strong><font color="#4169E1">*<A href="../../../docs/manualpages/KSP/KSPChebychevSetEigenvalues.html#KSPChebychevSetEigenvalues">KSPChebychevSetEigenvalues</A>(</font></strong>
63
 
<a name="line53"> 53: </a><strong><font color="#4169E1">        (<A href="../../../docs/manualpages/KSP/KSP.html#KSP">KSP</A>)PetscToPointer( (ksp) ),*emax,*emin)</font></strong>;
64
 
<a name="line54"> 54: </a>}
65
 
<a name="line55"> 55: </a><font color="#A020F0">#if defined(__cplusplus)</font>
66
 
<a name="line56"> 56: </a>}
67
 
<a name="line57"> 57: </a><font color="#A020F0">#endif</font>
68
 
</pre>
69
 
</body>
70
 
 
71
 
</html>