Skip to content
Snippets Groups Projects
Commit 8d6edf0f authored by Mads M. Pedersen's avatar Mads M. Pedersen
Browse files

changed from "rev" to "fwd" Total Derivative Solve

parent 130327c3
No related branches found
No related tags found
1 merge request!94Handle disabled mpi
......@@ -54,7 +54,7 @@ class TopFarm(object):
prob.model.add_constraint('wtSeparationSquared', lower=np.zeros(int(((n_wt - 1.) * n_wt / 2.))) + (min_spacing)**2)
prob.model.add_constraint('boundaryDistances', lower=np.zeros(self.boundardy_comp.nVertices * n_wt))
prob.setup()
prob.setup(check=True, mode='fwd')
def check(self, all=False, tol=1e-3):
"""Check gradient computations"""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment