Skip to content

Commit

Permalink
Update src/Simulation.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: FG-TUM <[email protected]>
  • Loading branch information
amartyads and FG-TUM authored Sep 6, 2023
1 parent 38bee22 commit eddfd07
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions src/Simulation.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -325,12 +325,11 @@ void Simulation::readXML(XMLfileUnits& xmlconfig) {
}
else if(parallelisationtype == "DomainDecomposition") {
delete _domainDecomposition;
#ifndef MAMICO_COUPLING
_domainDecomposition = new DomainDecomposition();
#else
_domainDecomposition = new DomainDecomposition(coupling::interface::LS1StaticCommData::getInstance().getLocalCommunicator(),
coupling::interface::LS1StaticCommData::getInstance().getDomainGridDecomp());
#endif
_domainDecomposition = new DomainDecomposition(
#ifdef MAMICO_COUPLING coupling::interface::LS1StaticCommData::getInstance().getLocalCommunicator(),
coupling::interface::LS1StaticCommData::getInstance().getDomainGridDecomp()
#endif
);
}
else if(parallelisationtype == "KDDecomposition") {
delete _domainDecomposition;
Expand Down

0 comments on commit eddfd07

Please sign in to comment.