calculate dmG in terms of base class