|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IteratedAssembler
This interface is used in problems that are solved iteratively
Field Summary | |
---|---|
static double |
tolerance
this value defines the stopping criteria for the iterations |
Method Summary | |
---|---|
double |
getIt()
if x(k+1)=x(k)+g(x(k)) returns 0 (NewtonAssembler), if x(k+1)=g(x(k)) returns -1 (FixedPointAssembler); |
double |
getOldArea()
|
void |
init()
|
int |
initializeFP()
this method is used to decide if some iterations should be done using fixed point iteration before using the Newton's method, since this one only converges if the first iteration is enough close to the exact solution. |
boolean |
isDamped()
|
boolean |
isToContinue(Vector x)
this method defines if the iterative solver stops or continues. |
void |
setOldSolution(Vector x,
Vector yy)
This method is used to set the previous iteration that is used to calculate the new iteration |
Field Detail |
---|
static final double tolerance
Method Detail |
---|
void setOldSolution(Vector x, Vector yy)
x
- the previous iterationyy
- it's only used in damped Newton's methoddouble getOldArea()
boolean isToContinue(Vector x)
x
- solution of the system of linear equations
double getIt()
boolean isDamped()
int initializeFP()
void init()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |