Dear fellow mathematicians,
during some gauge-theoretic explorations
I've stumble upon a recent paper by Nick Manton on Abelian higgs vortices where he studies Abelian higgs "vortices" on hyperbolic surfaces.
Does anyone have any historical knowledge of whether the word vortex in this context have any connection with point vortices from fluid dynamics? 


Question: Difficulties with re-using a variable
Answer: You've got multiple problems here.

First, if you write this in the middle of a class definition:

valCouche = nameCouche()


... you're creating a class attribute, which is shared by all instances, not a normal instance attribute.

Also, you're running this at class definition time. That means there is no self yet--there aren't any instances yet to be self--so you can't call a method like nameCouche, because you don't have anything to call it on.

What you want to do is call the method at instance initialization time, on the instance being initialized, and store the return value in an instance attribute:

def __init__(self):
    self.valCouche = self.nameCouche()


Then, when you want to access this value in another method later, you have to access it as self.valCouche.



If you make those changes, it will work. But your object model still doesn't make much sense. Why is nameCouche a method when it doesn't have anything to do with the object, and doesn't access any of its attributes? Maybe it makes sense as a @staticmethod, but really, I think it makes more sense just as a plain function outside the class. In fact, none of the code you've written seems to have anything to do with the class. 

This kind of cram-everything-into-the-class design is often a sign that you're trying to write Java code in Python, and haven't yet really understood how Python does OO. You might want to read a good tutorial on Python classes. But briefly: if you're writing a class just to have somewhere to dump a bunch of vaguely-related functions, what you want is a module, not a class. If you have some reason to have instances of that class, and the functions all act on the data of each instance, then you want a class.