7 using namespace OpenMPCD;
 
   16     if(!config.
has(
"solute"))
 
   28             "Currently, only a single type of solutes is supported");
 
   31     if(soluteGroup.
has(
"StarPolymers"))
 
  
const Setting getSetting(const std::string &name) const
Returns the setting object with the given name.
 
bool has(const std::string &setting) const
Returns whether a setting with the given name exists.
 
std::size_t getChildCount() const
Returns the number of direct child settings in this setting.
 
Represents the configuration of the simulation.
 
#define OPENMPCD_THROW(ExceptionType, message)
Throws the given ExceptionType, passing the given message along with file and line number information...
 
const BoundaryCondition::Base * getBoundaryConditions() const
Returns the boundary conditions.
 
Exception for unimplemented functionality.
 
FP MPCParticlePositionType
The data type for the positions of MPC particles.
 
static MPCSolute::Base< MPCParticlePositionType, MPCParticleVelocityType > * getInstance(CUDA::Simulation *const sim, const Configuration &config, RNG &rng)
Returns a newly constructed MPC solute.
 
Namespace for simulations using CUDA.
 
bool has(const std::string &settingName) const
Returns whether a setting with the given name exists.
 
const Setting getSetting(const std::string &name) const
Returns the setting object with the given name.
 
MPCD simulation with Molecular Dynamics on CUDA-capable GPUs.
 
boost::mt11213b RNG
The random number generator type.
 
FP MPCParticleVelocityType
The data type for the velocities of MPC particles.
 
Represents a setting in the configuration.
 
Class representing star polymers.