Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion PigInversion.py
Original file line number Diff line number Diff line change
Expand Up @@ -670,7 +670,11 @@ def main():
if inversionParams['initWithDeg1']:
Q1 = firedrake.FunctionSpace(mesh, family='CG', degree=1)
area = firedrake.assemble(firedrake.Constant(1) * firedrake.dx(mesh))
opts = {'dirichlet_ids': meshOpts['dirichlet_ids']} # Opts from mesh
opts = {
'dirichlet_ids': meshOpts['dirichlet_ids'], ## Opts from mesh
'diagnostic_solver_parameters': {'max_iterations': 100}
}

#
# Input model geometry and velocity
zb, s, h, floating, grounded = \
Expand Down