2004University of North Texas Digital Library (University of North Texas)Open access

Example Programs for KINSOL v2.2.0

A M Collier, R Serban

Open full text 0 citations

Abstract

include #include #include #include "sundialstypes.h"/* def's of realtype and booleantype */ #include "kinsol.h"/* main KINSol header file */ #include "iterative.h"/* enum for types of preconditioning */ #include "kinspgmr.h"/* use KINSpgmr linear solver */ #include "smalldense.h"/* use generic DENSE solver for preconditioning*/ #include "nvector_parallel.h"/* def's of type N_Vector, macro NV_DATA_P */ #include "sundialsmath.h"/* contains RSqrt routine */ #include "mpi.h"/* MPI include file */ #include "kinbbdpre.h"/* band preconditioner function prototypes */ /* Problem Constants */ #define NUM_SPECIES 6 /* must equal 2*(number of prey or predators) number of prey = number of predators */ #define PI RCONST(3.1415926535898)/* pi */ #define NPEX 2 /* number of processors in the x-direction */ #define NPEY 2 /* number of processors in the y-direction */ #define MXSUB 10 /* number of x mesh points per subgrid */ #define MYSUB 10 /* number of y mesh points per subgrid */

Open-access reader

About this research paper

What this paper is about

include #include #include #include "sundialstypes.h"/* def's of realtype and booleantype */ #include "kinsol.h"/* main KINSol header file */ #include "iterative.h"/* enum for types of preconditioning */ #include "kinspgmr.h"/* use KINSpgmr linear solver */ #include "smalldense.h"/* use generic DENSE solver for preconditioning*/ #include "nvector_parallel.h"/* def's of type N_Vector, macro NV_DATA_P */ #include "sundialsmath.h"/* contains RSqrt routine */ #include "mpi.h"/* MPI include file */ #include "kinbbdpre.h"/* band preconditioner function prototypes */ /* Problem Constants */ #define NUM_SPECIES 6 /* must equal 2*(number of prey or predators) number of prey = number of predators */ #define PI RCONST(3.1415926535898)/* pi */ #define NPEX 2 /* number of processors in the x-direction */ #define NPEY 2 /* number of processors in the y-direction */ #define MXSUB 10 /* number of x mesh points per subgrid */ #define MYSUB 10 /* number of y mesh points per subgrid */

Why it matters

A significance statement is not available in the OpenAlex record.

Key contribution

A contribution statement is not available in the OpenAlex record.

Method / approach

Method details are not available in the OpenAlex metadata.

Main findings

Findings are not separately available in the OpenAlex metadata.

Limitations

Limitations are not available in the OpenAlex metadata.

Applications

Application details are not available in the OpenAlex metadata.

Available abstract

include #include #include #include "sundialstypes.h"/* def's of realtype and booleantype */ #include "kinsol.h"/* main KINSol header file */ #include "iterative.h"/* enum for types of preconditioning */ #include "kinspgmr.h"/* use KINSpgmr linear solver */ #include "smalldense.h"/* use generic DENSE solver for preconditioning*/ #include "nvector_parallel.h"/* def's of type N_Vector, macro NV_DATA_P */ #include "sundialsmath.h"/* contains RSqrt routine */ #include "mpi.h"/* MPI include file */ #include "kinbbdpre.h"/* band preconditioner function prototypes */ /* Problem Constants */ #define NUM_SPECIES 6 /* must equal 2*(number of prey or predators) number of prey = number of predators */ #define PI RCONST(3.1415926535898)/* pi */ #define NPEX 2 /* number of processors in the x-direction */ #define NPEY 2 /* number of processors in the y-direction */ #define MXSUB 10 /* number of x mesh points per subgrid */ #define MYSUB 10 /* number of y mesh points per subgrid */

Key concepts: Computer science

Related papers

Back to paper searchBrowse research topicsOriginal source
Example Programs for KINSOL v2.2.0 — Research Paper | ScholarLens