:py:mod:`src.costs.distance_shape_gradient` =========================================== .. py:module:: src.costs.distance_shape_gradient Module Contents --------------- Classes ~~~~~~~ .. autoapisummary:: src.costs.distance_shape_gradient.Distance_shape_gradient .. py:class:: Distance_shape_gradient(path_config_file=None, config=None) Bases: :py:obj:`src.costs.abstract_shape_gradient.Abstract_shape_gradient` Non linear penalization of the distance to the plasma (lower bound) .. py:method:: cost(self, S) .. py:method:: shape_gradient(self, S, theta_pertubation) The implementation of the shape gradient :param S: a surface :type S: for now only Surface_Fourier are supported :param theta_pertubation: see `get_theta_perturbation of a surface` :type theta_pertubation: dictionary