src.costs.distance_shape_gradient
¶
Module Contents¶
Classes¶
Non linear penalization of the distance to the plasma (lower bound) |
- class src.costs.distance_shape_gradient.Distance_shape_gradient(path_config_file=None, config=None)¶
Bases:
src.costs.abstract_shape_gradient.Abstract_shape_gradient
Non linear penalization of the distance to the plasma (lower bound)
- cost(self, S)¶
- shape_gradient(self, S, theta_pertubation)¶
The implementation of the shape gradient
- Parameters
S (for now only Surface_Fourier are supported) – a surface
theta_pertubation (dictionary) – see get_theta_perturbation of a surface