Currently a uniform mesh is created by default, if the user wants to use some fancy mesh, they probably need to get their hand dirty and overwrite this method
TODO:
decide if the user should provide normalized or unnormalized mesh
decide what kind of checks we perform on the mesh provided by the user
def _get_mesh_scale(self, x):
return self.dec_var_operator.get_var(x, "global", "mesh_scale")
def get_mesh_from_scale(self, mesh_scale):
"""Get the unnormalized mesh as a flat array
TODO: is this method a bit redundant?
"""
return self._flat_normalized_mesh * mesh_scale
Currently a uniform mesh is created by default, if the user wants to use some fancy mesh, they probably need to get their hand dirty and overwrite this method
TODO:
Unify the following attributes:
and methods: