diff --git a/sympde/topology/mapping.py b/sympde/topology/mapping.py index 4e6af3b2..b7901859 100644 --- a/sympde/topology/mapping.py +++ b/sympde/topology/mapping.py @@ -384,6 +384,13 @@ def _sympystr(self, printer): mapping = sstr(self.mapping) return 'inv_det({})'.format(mapping) +class SymbolicWeightedVolume(SymbolicMappingExpr): + _name = 'wvol' + def _sympystr(self, printer): + sstr = printer.doprint + mapping = sstr(self.mapping) + return 'wvol({})'.format(mapping) + #============================================================================== class MappingApplication(Function): nargs = None