Commit c9c4bcf2 authored by Martin Reinecke's avatar Martin Reinecke
Browse files

make total_volume() a normal method again

parent c84236da
Pipeline #24021 passed with stage
in 4 minutes and 40 seconds
......@@ -111,7 +111,6 @@ class DomainObject(with_metaclass(
"""
return self.scalar_dvol()
@property
def total_volume(self):
tmp = self.dvol()
return self.dim * tmp if np.isscalar(tmp) else np.sum(tmp)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment