aboutsummaryrefslogtreecommitdiff
path: root/mg2d.c
Commit message (Collapse)AuthorAge
...
* mg2d: take into account the factor in front of ∂_xx when computing the CFL ↵Anton Khirnov2019-03-04
| | | | factor
* Implement C/r falloff boundary condition.Anton Khirnov2019-03-04
| | | | API bump.
* mg2d: print a more explicit error message when we reach maxiterAnton Khirnov2019-02-24
|
* Rename fixdiff boundary condition to reflect.Anton Khirnov2019-02-08
| | | | | | | This is what it actually does, we do not support setting arbitrary derivative values. API bump.
* mg2d: relax the condition on residual convergenceAnton Khirnov2019-02-02
| | | | | Apparently in certain cases the residual can briefly grow, even though the process converges after.
* mg2d: print stats properly for exact solvesAnton Khirnov2019-02-02
|
* mg2d: account for effect of the ~u term on the relaxation factorAnton Khirnov2019-01-29
| | | | | The maximum allowed time step in the presence of a -K * u term goes like 2 (dx ** 2) / (4 + K (dx ** 2))
* Fix callback type mismatchAnton Khirnov2019-01-29
|
* mg2d: fail when a full multigrid iteration does not reduce the residualAnton Khirnov2019-01-29
|
* Solve the discretized system exactly on the coarsest level.Anton Khirnov2019-01-26
|
* ell_relax -> ell_grid_solveAnton Khirnov2019-01-26
| | | | | Generalize the API to allow for multiple solver types. This is done in preparation for the exact linear system inversion solver.
* mg2d: factor out the boundary condition-related APIAnton Khirnov2019-01-25
|
* Stop duplicating some constants between ell_relax and mg2d.Anton Khirnov2019-01-25
|
* mg2d: split the constant definitions into their own headerAnton Khirnov2019-01-25
| | | | This will allow sharing them with ell_relax.
* mg2d: log the convergence factors after relax/correctAnton Khirnov2019-01-22
|
* mg2d: fix typoAnton Khirnov2019-01-21
| | | | | Do nb_relax_post steps in the post-correct relaxation phase, not nb_relax_pre.
* mg2d: failer earlier when relaxation does not convergeAnton Khirnov2019-01-21
|
* mg2d: check and propagate the error from mg_solve_subgrid()Anton Khirnov2019-01-21
|
* mg2d: factor out the relaxation step callAnton Khirnov2019-01-16
|
* mg2d: add a context variable to control the log levelAnton Khirnov2019-01-16
| | | | | | Simpler to use than overriding the log callback. API bump.
* mg2d: add a function for getting maximum supported fd_stencilAnton Khirnov2019-01-16
| | | | | | | This is needed for the caller to know the number of boundary zones that can be filled. API bump.
* ell_relax: compute the residual norm in residual_calc()Anton Khirnov2019-01-13
| | | | It is cheap and avoids an extra step in mg2d.
* mg2d: make the cfl factor runtime-configurableAnton Khirnov2019-01-13
|
* mg2d: ignore padding values in findmax()Anton Khirnov2019-01-09
|
* mg2d: remove a mistakenly committed hunk.Anton Khirnov2018-12-28
|
* mg2d: factor out restriction/prolongation callsAnton Khirnov2018-12-28
| | | | | Also generalize the check for full interpolation vs special-cased restrict/prolong functions.
* mg2d: print the overhead time in statsAnton Khirnov2018-12-28
|
* mg2d: do not select the first coarser level too close to the finest oneAnton Khirnov2018-12-28
|
* mg2d: simplify and speed up prolongationAnton Khirnov2018-12-27
|
* Add threading support through libthreadpool.Anton Khirnov2018-12-27
|
* mg2d: initialize the solver stepsize before it is usedAnton Khirnov2018-12-27
|
* Add CPU feature detection.Anton Khirnov2018-12-27
| | | | Will be used for dynamically dispatching future asm functions.
* mg2d: define log levelsAnton Khirnov2018-12-06
|
* mg2d: enforce a minimum domain size of 3 pointsAnton Khirnov2018-12-05
|
* mg2d: check the domain size validity earlierAnton Khirnov2018-12-05
|
* Finish support for 4th order accuracy.Anton Khirnov2018-11-28
| | | | ABI and API break.
* Add a function to measure timings for benchmarking.Anton Khirnov2018-09-26
|
* mg2d: fix boundary values allocationAnton Khirnov2018-08-07
|
* mg2d: use injection for diff coeffs restrictionAnton Khirnov2018-08-07
|
* mg2d: actually initialize u to zero as documentedAnton Khirnov2018-08-07
|
* Add support for non-power-of-2 sized grids.Anton Khirnov2018-08-01
|
* Implement the multigrid scheme.Anton Khirnov2018-08-01