| snescomposite.c (c3d89e0aef1fb8977d2f9d367fc4b91cc47aeb54) | snescomposite.c (4f02bc6a7df4e4b03c783003a8e0899ee35fcb05) |
|---|---|
| 1 2/* 3 Defines a SNES that can consist of a collection of SNESes 4*/ 5#include <petsc/private/snesimpl.h> /*I "petscsnes.h" I*/ 6#include <petscblaslapack.h> 7 8const char *const SNESCompositeTypes[] = {"ADDITIVE","MULTIPLICATIVE","ADDITIVEOPTIMAL","SNESCompositeType","SNES_COMPOSITE",0}; --- 886 unchanged lines hidden (view full) --- 895 Level: intermediate 896 897 Concepts: composing solvers 898 899.seealso: SNESCreate(), SNESSetType(), SNESType (for list of available types), SNES, 900 SNESSHELL, SNESCompositeSetType(), SNESCompositeSpecialSetAlpha(), SNESCompositeAddSNES(), 901 SNESCompositeGetSNES() 902 | 1 2/* 3 Defines a SNES that can consist of a collection of SNESes 4*/ 5#include <petsc/private/snesimpl.h> /*I "petscsnes.h" I*/ 6#include <petscblaslapack.h> 7 8const char *const SNESCompositeTypes[] = {"ADDITIVE","MULTIPLICATIVE","ADDITIVEOPTIMAL","SNESCompositeType","SNES_COMPOSITE",0}; --- 886 unchanged lines hidden (view full) --- 895 Level: intermediate 896 897 Concepts: composing solvers 898 899.seealso: SNESCreate(), SNESSetType(), SNESType (for list of available types), SNES, 900 SNESSHELL, SNESCompositeSetType(), SNESCompositeSpecialSetAlpha(), SNESCompositeAddSNES(), 901 SNESCompositeGetSNES() 902 |
| 903 References: 904 905 Peter R. Brune, Matthew G. Knepley, Barry F. Smith, and Xuemin Tu, "Composing Scalable Nonlinear Algebraic Solvers", 906 SIAM Review, 57(4), 2015 907 |
|
| 903M*/ 904 905#undef __FUNCT__ 906#define __FUNCT__ "SNESCreate_Composite" 907PETSC_EXTERN PetscErrorCode SNESCreate_Composite(SNES snes) 908{ 909 PetscErrorCode ierr; 910 SNES_Composite *jac; --- 33 unchanged lines hidden --- | 908M*/ 909 910#undef __FUNCT__ 911#define __FUNCT__ "SNESCreate_Composite" 912PETSC_EXTERN PetscErrorCode SNESCreate_Composite(SNES snes) 913{ 914 PetscErrorCode ierr; 915 SNES_Composite *jac; --- 33 unchanged lines hidden --- |