LutzGross / esys-escript.github.io

Other
29 stars 13 forks source link

function to create a tag field to switch on and off subdomains by tag #51

Open aellery opened 2 years ago

aellery commented 2 years ago

def makeTagMap(functionspace): out=Scalar(-1,functionspace): for t in functionspace.getListOfTags(): out.setTaggedValue(t,t) out.expand() return out