Research Article
A Novel Mesh Quality Improvement Method for Boundary Elements
Algorithm 2
Line search algorithm.
function LINE_SEARCH (, ((), , , )) | ▸ f() = objective function | = allowable error | (f(x), , , ) = the function for search region | , see below Algorithm 3 | (2) compute = + 0.382() and = + 0.618() | ▸
= initial tentative point | Set i = 1 | i = iteration number | if < then | (4) return and break | ▸ = optimal step size | else if (f() < f()) go to step (7) | (6) else go to step (8) | set = , = , = , f() = f() | compute = 0.618 + 0.382 and f() | i = i+1 go to step (3) |
|