Ice Sheet System Model  4.18
Code documentation
PetscSolver.h
Go to the documentation of this file.
1 
4 #ifndef _PETSC_SOLVER_H_
5 #define _PETSC_SOLVER_H_
6 
7 /*Headers:*/
8 /*{{{*/
9 #ifdef HAVE_CONFIG_H
10  #include <config.h>
11 #else
12 #error "Cannot compile with HAVE_CONFIG_H symbol! run configure first!"
13 #endif
14 
15 #include "../petscincludes.h"
16 class Parameters;
17 
18 /*}}}*/
19 
20 void PetscSolve(PetscVec** puf, PetscMat* Kff, PetscVec* pf, PetscVec* uf0,PetscVec* df, Parameters* parameters);
21 void SolverxPetsc(Vec* puf, Mat Kff, Vec pf, Vec uf0,Vec df, Parameters* parameters);
22 void DofTypesToIndexSet(IS* pisv, IS* pisp, Vec df,int typeenum);
23 
24 #endif //#ifndef _PETSCSOLVER_H_
PetscSolve
void PetscSolve(PetscVec **puf, PetscMat *Kff, PetscVec *pf, PetscVec *uf0, PetscVec *df, Parameters *parameters)
Definition: PetscSolver.cpp:19
Parameters
Declaration of Parameters class.
Definition: Parameters.h:18
DofTypesToIndexSet
void DofTypesToIndexSet(IS *pisv, IS *pisp, Vec df, int typeenum)
Definition: PetscSolver.cpp:168
SolverxPetsc
void SolverxPetsc(Vec *puf, Mat Kff, Vec pf, Vec uf0, Vec df, Parameters *parameters)
Definition: PetscSolver.cpp:35
PetscVec
Definition: PetscVec.h:22
PetscMat
Definition: PetscMat.h:24