Feel++ 0.91.0
Namespaces | Functions
/home/prudhomm/sources/feel/feel/feelalg/solvernonlinearpetsc.cpp File Reference
#include <feel/feelcore/feel.hpp>
#include <feel/feelalg/glas.hpp>
#include <feel/feelalg/vectorpetsc.hpp>
#include <feel/feelalg/matrixpetsc.hpp>
#include <feel/feelalg/solvernonlinearpetsc.hpp>

Namespaces

namespace  Feel

Functions

PetscErrorCode __feel_petsc_snes_monitor (SNES snes, PetscInt its, PetscReal fnorm, void *)
PetscErrorCode __feel_petsc_snes_residual (SNES snes, Vec x, Vec r, void *ctx)
PetscErrorCode __feel_petsc_snes_jacobian (SNES snes, Vec x, Mat *jac, Mat *pc, MatStructure *msflag, void *ctx)
PetscErrorCode __feel_petsc_snes_dense_residual (SNES snes, Vec x, Vec r, void *ctx)
PetscErrorCode __feel_petsc_snes_dense_jacobian (SNES snes, Vec x, Mat *jac, Mat *pc, MatStructure *msflag, void *ctx)

Detailed Description

Author:
Christophe Prud'homme <christophe.prudhomme@ujf-grenoble.fr>
Date:
2007-07-02

Function Documentation

PetscErrorCode __feel_petsc_snes_dense_jacobian ( SNES  snes,
Vec  x,
Mat *  jac,
Mat *  pc,
MatStructure *  msflag,
void *  ctx 
)

Feel::Log() << "dense_jacobian xx= " << xx << "\n";

References Feel::SolverNonLinear< T >::dense_jacobian.

Referenced by Feel::SolverNonLinearPetsc< T >::solve().

PetscErrorCode __feel_petsc_snes_jacobian ( SNES  snes,
Vec  x,
Mat *  jac,
Mat *  pc,
MatStructure *  msflag,
void *  ctx 
)

!!*msflag = SAME_NONZERO_PATTERN;

References Feel::SolverNonLinear< T >::jacobian.

Referenced by Feel::SolverNonLinearPetsc< T >::solve().

PetscErrorCode __feel_petsc_snes_monitor ( SNES  snes,
PetscInt  its,
PetscReal  fnorm,
void *   
)

Feel::Log() << "[SolverNonLinearPetsc] KSP num of it = " << lits << " residual = " << final_resid << "\n";

Referenced by Feel::SolverNonLinearPetsc< T >::solve().