SERiF v0.0.1a
Stellar Evolution and Rotation in Four Dimensions
Loading...
Searching...
No Matches
gravity.hpp File Reference
Include dependency graph for gravity.hpp:
This graph shows which files directly or indirectly include this file:

Namespaces

namespace  serif
 
namespace  serif::solver
 
namespace  serif::solver::preconditioner
 
namespace  serif::solver::preconditioner::computations
 

Functions

template<typename Gradient, typename Potential>
auto serif::solver::preconditioner::computations::gravity_schur ()
 Build B diag(M)^-1 B^T while the computational divergence remains independently reusable.
 
template<typename Gradient, typename Potential, typename Strategy>
auto serif::solver::preconditioner::computations::gravity_potential_inverse (const Strategy &strategy)
 Prepare the positive potential inverse without changing the physical saddle-point signs.
 
template<typename Gradient, typename Potential, typename MassStrategy, typename SchurStrategy, typename Policy>
auto serif::solver::preconditioner::computations::gravity (const GravityPreconditioner< Gradient, Potential, MassStrategy, SchurStrategy, Policy > &choice)
 Compose the chosen mixed-gravity factorization using the same accepted mass and divergence results.