Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/boutproject/BOUT-dev
/ init
Method
init
examples/boutpp/simulation.py:7–9 ·
view source on GitHub ↗
(self,restart)
Source
from the content-addressed store, hash-verified
5
6
class
Model(bc.PhysicsModel):
7
def
init(self,restart):
8
self.dens = bc.create3D(
"sin(x)"
)
9
self.solve_for(n=self.dens)
10
11
def
rhs(self,time):
12
self.dens.ddt(bc.DDX(self.dens))
Callers
1
simulation.py
File · 0.45
Calls
1
create3D
Method · 0.80
Tested by
no test coverage detected