Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/NGSolve/ngsolve
/ CostV
Function
CostV
tests/pytest/test_shapeoptimization.py:139–140 ·
view source on GitHub ↗
(u)
Source
from the content-addressed store, hash-verified
137
def
Cost(u):
138
return
(u-uD)**2
139
def
CostV(u):
140
return
(u-vuD)**2
141
142
n = specialcf.normal(2)
143
tang = specialcf.tangential(2)
Callers
1
test_shapeopt_2d
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected