Skip to content
Snippets Groups Projects
Commit 99cc5e28 authored by Sander, Oliver's avatar Sander, Oliver
Browse files

Add the inverse stereographic projection concatenated with a two-fold cover

This creates a field with topological charge 2.
parent 722dc5d2
No related branches found
No related tags found
No related merge requests found
......@@ -2,6 +2,9 @@
def f(x):
normSquared = x[0]*x[0]+x[1]*x[1]
return [2*x[0] / (normSquared+1), 2*x[1] / (normSquared+1), (normSquared-1)/ (normSquared+1)]
#a = 20
#normSquared = a*a*(x[0]*x[0]+x[1]*x[1])
#return [a*2*x[0] / (normSquared+1), a*2*x[1] / (normSquared+1), (normSquared-1)/ (normSquared+1)]
def df(x):
normSquared = x[0]*x[0]+x[1]*x[1]
......
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