stfc / HartreeParticleDSL

MIT License
1 stars 1 forks source link

Move more backend functionality to the base backend class #49

Open LonelyCat124 opened 2 years ago

LonelyCat124 commented 2 years ago

Many backends share various base functionality, which is just copied and pasted between classes, e.g. add_include.

I think this should be moved into the base backend class, and the inherited classes should then implement the classes they need.

For example this could be backend then c_backend, c++_backend, fortran_backend ... backend classes.