Open Maarrk opened 4 days ago
The ConstitutiveLaw class has an abstract method name. Then every subclass defines law_type and implements this method as just return self.law_type every time.
ConstitutiveLaw
name
law_type
return self.law_type
Can we move law_type to ConstitutiveLaw and remove name() altogether?
name()
The
ConstitutiveLaw
class has an abstract methodname
. Then every subclass defineslaw_type
and implements this method as justreturn self.law_type
every time.Can we move
law_type
toConstitutiveLaw
and removename()
altogether?