src.costs.curvature_shape_gradient

Module Contents

Classes

Curvature_shape_gradient

Non linear penalization on the curvature (upper bound)

class src.costs.curvature_shape_gradient.Curvature_shape_gradient(path_config_file=None, config=None)

Bases: src.costs.abstract_shape_gradient.Abstract_shape_gradient

Non linear penalization on the curvature (upper bound)

cost(self, S)
curvature_derivative(self, S, theta_peturbation)
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