ls1-MarDyn
ls1-MarDyn molecular dynamics code
Functions
AutoPasContainer.cpp File Reference
#include "AutoPasContainer.h"
#include <particleContainer/adapter/LegacyCellProcessor.h>
#include <particleContainer/adapter/VectorizedCellProcessor.h>
#include <exception>
#include "Domain.h"
#include "Simulation.h"
#include "autopas/utils/StringUtils.h"
#include "autopas/utils/logging/Logger.h"
#include "parallel/DomainDecompBase.h"

Functions

template<class OptionType >
auto parseAutoPasOption (XMLfileUnits &xmlconfig, const std::string &xmlString, const std::set< OptionType > &defaultValue)
 
autopas::IteratorBehavior convertBehaviorToAutoPas (ParticleIterator::Type t)
 

Detailed Description

Author
seckler
Date
19.09.18

Function Documentation

◆ parseAutoPasOption()

template<class OptionType >
auto parseAutoPasOption ( XMLfileUnits xmlconfig,
const std::string &  xmlString,
const std::set< OptionType > &  defaultValue 
)

Safe method to parse autopas options from the xml. It checks for exceptions, prints the exceptions and all possible options. If the option does not exist in the xml the given default is returned

Template Parameters
OptionTypeType of the option to parse
Parameters
xmlconfig
xmlStringXML whose content we like to parse.
defaultValueSet of options that is returned if nothing was found in the xml
Returns