Rewritten exportIntVarAs, exportPrimVarAs and added getNodalVariableFromIS in analogy with getPrimaryVariable