Defining Functions In Comsol Multiphysics