dougshidong / PHiLiP

Parallel High-Order Library for PDEs through hp-adaptive Discontinuous Galerkin methods
Other
45 stars 36 forks source link

Use inheritance to create the various Operators from OperatorBase #62

Open dougshidong opened 3 years ago

dougshidong commented 3 years ago

Right now OperatorBase does it all by swtiching around if-statements. The proper way to do this is to derive the various operators from OperatorBase. Operator base would then have some properties from finite element methods such as quadratures and basis functions, but the derived classes would be responsible to implement how those operators are applied, similarly to the concept of LinearOperator from deal.II.

AlexanderCicchino commented 3 years ago

Assign it to me.

jbrillon commented 1 year ago

Can we close this? @AlexanderCicchino