lucasmyers97 / maier-saupe-lc-hydrodynamics

Work at University of Minnesota using finite element methods to simulate hydrodynamics of liquid crystals with a Maier-Saupe field theory free energy
4 stars 0 forks source link

Make `order` a constructor argument, not a template argument for all `LagrangeMultiplier` objects #20

Closed lucasmyers97 closed 2 years ago

lucasmyers97 commented 2 years ago

Currently have order, which corresponds to the order of Lebedev quadrature, as a template argument to all of the different functions which calculate the singular potential. This was so that the Lebedev coordinates could be a static attribute, but that's unnecessary because we only use one object to calculate the singular potential anyways. Would make it much easier to specify parameters from the command line, and would also cut compilation time considerably.

lucasmyers97 commented 2 years ago

This is done in this pull request. Only thing left to do now is to the same for all the simulation objects (though I might just delete them instead).