MFEM v4.7.0
Finite element discretization library
|
Go to the source code of this file.
Functions | |
real_t | proj (ParGridFunction &psi, real_t target_volume, real_t tol=1e-12, int max_its=10) |
Bregman projection of ρ = sigmoid(ψ) onto the subspace ∫_Ω ρ dx = θ vol(Ω) as follows: | |
int | main (int argc, char *argv[]) |
real_t proj | ( | ParGridFunction & | psi, |
real_t | target_volume, | ||
real_t | tol = 1e-12, | ||
int | max_its = 10 ) |
Bregman projection of ρ = sigmoid(ψ) onto the subspace ∫_Ω ρ dx = θ vol(Ω) as follows:
psi | a GridFunction to be updated |
target_volume | θ vol(Ω) |
tol | Newton iteration tolerance |
max_its | Newton maximum iteration number |