def basis(self): from modepy.modes import tensor_product_basis, jacobi from functools import partial return tensor_product_basis( self.dim, tuple( partial(jacobi, 0, 0, i) for i in range(self.order+1)))
def from_mesh_interp_matrix(self): from modepy.modes import tensor_product_basis, jacobi from functools import partial meg = self.mesh_el_group basis = tensor_product_basis( self.dim, tuple(partial(jacobi, 0, 0, i) for i in range(meg.order + 1))) return mp.resampling_matrix(basis, self.unit_nodes, meg.unit_nodes)
def from_mesh_interp_matrix(self): from modepy.modes import tensor_product_basis, jacobi from functools import partial meg = self.mesh_el_group basis = tensor_product_basis( self.dim, tuple( partial(jacobi, 0, 0, i) for i in range(meg.order+1))) return mp.resampling_matrix(basis, self.unit_nodes, meg.unit_nodes)