Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cselab/aphros
/ GetMeshStep
Function
GetMeshStep
deploy/scripts/aphros/plot.py:500–503 ·
view source on GitHub ↗
(s)
Source
from the content-addressed store, hash-verified
498
499
# assuming uniform mesh
500
def
GetMeshStep(s):
501
if
IsGerris(s):
502
return
1. / (s[0] - 1)
503
return
1. / s[0]
504
505
506
# Returns mesh nodes
Callers
nothing calls this directly
Calls
1
IsGerris
Function · 0.85
Tested by
no test coverage detected