/trunk/src/st/interface/stsolve.c
55,6 → 55,7
| |
| if (!st->setupcalled) { ierr = STSetUp(st); CHKERRQ(ierr); } |
| |
| if (!st->ops->apply) SETERRQ(((PetscObject)st)->comm,PETSC_ERR_SUP,"ST does not have apply"); |
| ierr = PetscLogEventBegin(ST_Apply,st,x,y,0);CHKERRQ(ierr); |
| st->applys++; |
| if (st->D) { /* with balancing */ |
145,6 → 146,7
| |
| if (!st->setupcalled) { ierr = STSetUp(st); CHKERRQ(ierr); } |
| |
| if (!st->ops->applytrans) SETERRQ(((PetscObject)st)->comm,PETSC_ERR_SUP,"ST does not have applytrans"); |
| ierr = PetscLogEventBegin(ST_ApplyTranspose,st,x,y,0);CHKERRQ(ierr); |
| st->applys++; |
| if (st->D) { /* with balancing */ |
/trunk/src/st/impls/precond/precond.c
36,15 → 36,7
| PetscBool setmat; |
| } ST_PRECOND; |
| |
| |
| #undef __FUNCT__ |
| #define __FUNCT__ "SLEPcNotImplemented_Precond" |
| PetscErrorCode SLEPcNotImplemented_Precond(ST st, Vec x, Vec y) |
| { |
| SETERRQ(((PetscObject)st)->comm,PETSC_ERR_SUP,"Operation not implemented in STPRECOND."); |
| } |
| |
| #undef __FUNCT__ |
| #define __FUNCT__ "STSetFromOptions_Precond" |
| PetscErrorCode STSetFromOptions_Precond(ST st) |
| { |
188,9 → 180,7
| ierr = PetscNew(ST_PRECOND, &data); CHKERRQ(ierr); |
| st->data = data; |
| |
| st->ops->apply = SLEPcNotImplemented_Precond; |
| st->ops->getbilinearform = STGetBilinearForm_Default; |
| st->ops->applytrans = SLEPcNotImplemented_Precond; |
| st->ops->postsolve = PETSC_NULL; |
| st->ops->backtr = PETSC_NULL; |
| st->ops->setup = STSetUp_Precond; |
/trunk/src/eps/impls/davidson/common/davidson.c
357,13 → 357,6
| } |
| |
| #undef __FUNCT__ |
| #define __FUNCT__ "SLEPcNotImplemented" |
| PetscErrorCode SLEPcNotImplemented() |
| { |
| SETERRQ(PETSC_COMM_WORLD,1, "Do not call this function!"); |
| } |
| |
| #undef __FUNCT__ |
| #define __FUNCT__ "EPSDAVIDSONSetKrylovStart_DAVIDSON" |
| PetscErrorCode EPSDAVIDSONSetKrylovStart_DAVIDSON(EPS eps,PetscBool krylovstart) |
| { |