1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML3.2 EN">
<HTML>
<HEAD> <link rel="canonical" href="https://slepc.upv.es/documentation/current/docs/manualpages/sys/SlepcInitializeFortran.html" />
<META NAME="GENERATOR" CONTENT="DOCTEXT">
<link rel="stylesheet" href="/slepc.css" type="text/css">
<TITLE>SlepcInitializeFortran</TITLE>
</HEAD>
<BODY BGCOLOR="FFFFFF">
<div id="version" align=right><b>slepc-3.22.2 2024-12-02</b></div>
<div id="bugreport" align=right><a href="mailto:slepc-maint@upv.es?subject=Typo or Error in Documentation &body=Please describe the typo or error in the documentation: slepc-3.22.2 v3.22.2 docs/manualpages/sys/SlepcInitializeFortran.html "><small>Report Typos and Errors</small></a></div>
<H1>SlepcInitializeFortran</H1>
Routine that should be called from C after the call to <A HREF="../sys/SlepcInitialize.html#SlepcInitialize">SlepcInitialize</A>() if one is using a C main program that calls Fortran routines that in turn call SLEPc routines.
<H3><FONT COLOR="#883300">Synopsis</FONT></H3>
<PRE>
#include "slepcsys.h"
<A HREF="https://petsc.org/release/manualpages/Sys/PetscErrorCode.html#PetscErrorCode">PetscErrorCode</A> <A HREF="../sys/SlepcInitializeFortran.html#SlepcInitializeFortran">SlepcInitializeFortran</A>(void)
</PRE>
Collective on <A HREF="https://petsc.org/release/manualpages/Sys/PETSC_COMM_WORLD.html#PETSC_COMM_WORLD">PETSC_COMM_WORLD</A>
<P>
<P>
<H3><FONT COLOR="#883300">Notes</FONT></H3>
<A HREF="../sys/SlepcInitializeFortran.html#SlepcInitializeFortran">SlepcInitializeFortran</A>() initializes some of the default SLEPc variables
for use in Fortran if a user's main program is written in C.
<A HREF="../sys/SlepcInitializeFortran.html#SlepcInitializeFortran">SlepcInitializeFortran</A>() is NOT needed if a user's main
program is written in Fortran; in this case, just calling
<A HREF="../sys/SlepcInitialize.html#SlepcInitialize">SlepcInitialize</A>() in the main (Fortran) program is sufficient.
<P>
<H3><FONT COLOR="#883300">See Also</FONT></H3>
<A HREF="../sys/SlepcInitialize.html#SlepcInitialize">SlepcInitialize</A>()
<BR><P><B></B><H3><FONT COLOR="#883300">Level</FONT></H3>beginner<BR>
<H3><FONT COLOR="#883300">Location</FONT></H3>
</B><A HREF="../../../src/sys/finit.c.html#SlepcInitializeFortran">src/sys/finit.c</A>
<BR><BR><A HREF="./index.html">Index of all sys routines</A>
<BR><A HREF="../../../docs/manual.html">Table of Contents for all manual pages</A>
<BR><A HREF="../singleindex.html">Index of all manual pages</A>
</BODY></HTML>
|