Skip to content

Commit

Permalink
small fix in python example
Browse files Browse the repository at this point in the history
  • Loading branch information
hverhelst committed Jan 6, 2022
1 parent db667ba commit a8f34f3
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions python_examples/example_shell3D.py
Original file line number Diff line number Diff line change
@@ -1,17 +1,17 @@
#!/usr/bin/python

""""
@file BSpline curve example
@file example_shell3D.py
@brief Play with a B-spline curve in Python
@brief Replicates example_shell3D from the gsKLShell module
This file is part of the G+Smo library.
This Source Code Form is subject to the terms of the Mozilla Public
License, v. 2.0. If a copy of the MPL was not distributed with this
file, You can obtain one at http://mozilla.org/MPL/2.0/.
Author(s): S. Imperatore
Author(s): H.M. Verhelst
"""

import os, sys
Expand Down Expand Up @@ -143,12 +143,10 @@ def Jacobian(resvec):
YY = YY.reshape(N*N)

u = np.stack([XX,YY])
print(u)

sol = assembler.constructSolution(solution)

solution = sol.patch(0).eval(u)
print(solution)

fig = plt.figure()
ax = fig.add_subplot() # projection='3d'
Expand Down

0 comments on commit a8f34f3

Please sign in to comment.