| Line 121... |
Line 121... |
|
|
PetscFunctionBegin;
|
PetscFunctionBegin;
|
/* Load the Davidson solver */
|
/* Load the Davidson solver */
|
ierr = EPSCreate_Davidson(eps);CHKERRQ(ierr);
|
ierr = EPSCreate_Davidson(eps);CHKERRQ(ierr);
|
ierr = EPSDavidsonSetFix_Davidson(eps,0.0);CHKERRQ(ierr);
|
ierr = EPSDavidsonSetFix_Davidson(eps,0.0);CHKERRQ(ierr);
|
|
ierr = EPSDavidsonSetMethod_Davidson(eps,DVD_METH_GD);CHKERRQ(ierr);
|
|
|
/* Overload the GD properties */
|
/* Overload the GD properties */
|
eps->ops->setfromoptions = EPSSetFromOptions_GD;
|
eps->ops->setfromoptions = EPSSetFromOptions_GD;
|
eps->ops->setup = EPSSetUp_GD;
|
eps->ops->setup = EPSSetUp_GD;
|
eps->ops->destroy = EPSDestroy_GD;
|
eps->ops->destroy = EPSDestroy_GD;
|