def get_int_inveps(self): I = np.zeros((2, 2), dtype=complex) I[0, 0] = femio.load_table(self.tmppath("I_inveps_xx.txt")) I[1, 1] = femio.load_table(self.tmppath("I_inveps_yy.txt")) I[1, 0] = femio.load_table(self.tmppath("I_inveps_yx.txt")) I[0, 1] = femio.load_table(self.tmppath("I_inveps_xy.txt")) return I
def get_phi(self): phi = np.zeros((2, 2), dtype=complex) phi[0, 0] = femio.load_table(self.tmppath("Phixx.txt")) phi[0, 1] = femio.load_table(self.tmppath("Phixy.txt")) phi[1, 0] = femio.load_table(self.tmppath("Phiyx.txt")) phi[1, 1] = femio.load_table(self.tmppath("Phiyy.txt")) return phi
def get_field_map(self, name): field = femio.load_table(self.tmp_dir + "/" + name) return np.flipud(field.reshape((self.Niy, self.Nix))).T
def get_solution(self): return femio.load_table(self.tmppath("u.txt"))
def get_vol(self): return femio.load_table(self.tmppath("Vol.txt"))
def get_gradsol_circ(self): vx = femio.load_table(self.tmppath("vx_circ.txt")) vy = femio.load_table(self.tmppath("vy_circ.txt")) return vx, vy
def get_sol_circ(self): t = self.tmppath("sol_circ.txt") return femio.load_table(t)