Skip to content

Refactor ETI system in MueLu

James Willenbring requested to merge muelu:muelu_eti_split into master

Created by: tawiesn

MueLu's ETI system now

  • automatically generates the ETI cpp files using cmake
  • splits the cpp files (one for each combination of all template parameters enabled in Tpetra and one for Epetra)

The src/Utils/ClassList/gen_all.sh script is still necessary. The list of classes that cmake has to create ETI files for is built using the script genClassLists.sh which is called by gen_all.sh. This way, we do not need a hard-coded list in the CMakeLists.txt file (like as Tpetra has solved it). The ETI system for MueLu::Interface uses the same technique (but has a hard-coded list of files (only 4) in CMakeLists.txt). The ETI system of MueLu::Adapters has not changed, i.e. the ETI cpp files are autogenerated but not splitted, yet.

Merge request reports