|
| template<class GridGeometry, class Function> |
| void | forEachPeriodicPair (const GridGeometry &gridGeometry, Function &&f) |
| | Call f(first, second) for each periodically mapped degree of freedom second of the degree of freedom first with the smallest index.
|
| template<class GridGeometry, class Residual, class Solution> |
| void | enforceInResidual (const GridGeometry &gridGeometry, Residual &res, const Solution &curSol) |
| | Add the residual of each periodic degree of freedom to the one it is mapped to and replace it by the constraint.
|
| template<class GridGeometry, class Matrix> |
| void | enforceInJacobian (const GridGeometry &gridGeometry, Matrix &jac) |
| | Add the matrix row of each periodic degree of freedom to the one it is mapped to and replace it by the derivative of the constraint.
|