test('RelativeTotalNormDispIncr', tol, iter, pFlag=0, nType=2)
Create a RelativeTotalNormDispIncr test, which uses the ratio of the current norm to the total norm (the sum of all the norms since last convergence) of the solution vector.
Tolerance criteria used to check for convergence.
Max number of iterations to check
Print flag (optional):
- 0 print nothing.
- 1 print information on norms each time
- 2 print information on norms and number of iterations at end of successful test.
- 4 at each step it will print the norms and also the \(\Delta U\) and \(R(U)\) vectors.
- 5 if it fails to converge at end of
numIterit will print an error message but return a successfull test.
Type of norm, (0 = max-norm, 1 = 1-norm, 2 = 2-norm). (optional)