def __init__(self, mesh, value_for_computations=None, **kwargs):
        """
        TODO: add documentation
        """

        self._mesh = mesh

        # NOTE: it is ESSENTIAL that all of the following are np.array
        # and not lists... but is up to the user (phoebe backend since the
        # user will probably not dig this deep)
        self._vertices = None
        self._centers = None

        self._compute_at_vertices = kwargs.get('compute_at_vertices', self.mesh._compute_at_vertices)

        if value_for_computations is not None:
            self.set_for_computations(value_for_computations)
def __init__ ( self , mesh , value_for_computations = None , ** kwargs ) : self . _mesh = mesh self . _vertices = None self . _centers = None self . _compute_at_vertices = kwargs . get ( 'compute_at_vertices' , self . mesh . _compute_at_vertices ) if value_for_computations is not None : self . set_for_computations ( value_for_computations )
TODO: add documentation