TestPair #
Ported from scottnarmstrong/CoarseGraining at c7ddd76c08ade64fed1b8d2ca51be14dfee8deb4. Module imports, support namespace and local option directives adapted for Lean Pool.
Local block energy: the centered potentials and the test pair #
The centered potentials u = v − ½p·x − c, u* = v* − ½p·x + c as
H¹ functions (with constant gradients V = ∇v − ½p, V* = ∇v* − ½p), and
the smooth test pair (η²u, η²u*) built from the library's smooth×H¹ product
H1Function.mulContDiffMemLpTop. The admissibility
MemH10 (η²u + η²u*) is obtained from η²·(v+v*−p·x) ∈ H¹₀ via
H10Function.mulContDiffMemLpTop.
The centered potentials #
u = v − ½ p·x − c as an H¹ function.
Equations
- HCPolySupport.centeredPotential m v p c = v + -(1 / 2) • HCPolySupport.affineH1 m p + HCPolySupport.H1Function.const (-c)
Instances For
Evaluation formula for the centered potential.
Gradient formula for the centered potential.
The sum of the two centered potentials is v + v* − p·x.
L^∞ data for η² #
Packaged L^∞ data for η² on the finite-measure cube.
Packaged L∞ data for a partial derivative of η².
The test function η²·u #
η² · u as an H¹ function via the library's smooth×H¹ product.
Equations
- HCPolySupport.testFun hη hIcc hGη u = u.mulContDiffMemLpTop ⋯ ⋯ ⋯
Instances For
Evaluation formula for the cutoff test function.
Gradient formula for the cutoff test function.
Admissibility of the test pair #
MemH10 (η² u + η² u*), from η² · (u + u*) ∈ H¹₀ and the library's
H10Function smooth product. The input hTrace is the trace fact
v + v* − p·x ∈ H¹₀(U).