Models
SunlightHNC.Model
— Typestruct Model{NT}
a model built on top of the grid
SunlightHNC.additive_primitive_model
— Functionadditive_primitive_model
Construct additive primitive model.
Arguments
wizard::Wizard
lb::Number
diam
z
Keyword arguments
name="additive PM"
SunlightHNC.restricted_primitive_model
— Functionrestricted_primitive_model
Construct restricted primitive model.
Arguments
wizard::Wizard
lb::Number
Solvers
SunlightHNC.solve!
— Functionfunction solve!(model::Model, rho; kwarg...)
Solve a model
Arguments
model::Model
rho
Keyword arguments
closure="HNC"
alpha=0.2
maxsteps=100
cold_start=false