LocalSolver.h¶
Note
The documentation on this page was automatically extracted from the DOLFIN C++ code and may need to be edited or expanded.
-
class
LocalSolver
¶ Constructor (shared pointer version)
Constructor (shared pointer version)
-
void
solve_global_rhs
(Function &u) const¶ Solve local (cell-wise) problems A_e x_e = b_e, where A_e is the cell matrix LHS and b_e is the global RHS vector b restricted to the cell, i.e. b_e may contain contributions from neighbouring cells. The solution is exact for the case in which there is no coupling between cell contributions to the global matrix A, e.g. the discontinuous Galerkin matrix. The result is copied into x.
-
void
solve_local_rhs
(Function &u) const¶ Solve local (cell-wise) problems A_e x_e = b_e where A_e and b_e are the cell element tensors. This function is useful for computing (approximate) cell-wise projections, for example for post-processing. It much more efficient than computing global projections.
-
void
solve_local
(GenericVector &x, const GenericVector &b, const GenericDofMap &dofmap_b) const¶ Solve local problems for given RHS and corresponding dofmap for RHS
-
void
factorize
()¶ Factorise LHS for all cells and store
-
void
clear_factorization
()¶ Reset (clear) any stored factorisations