OpenMPCD
Static Public Member Functions | List of all members
OpenMPCD::CUDA::MPCSolute::Factory Class Reference

Class used to construct MPC solute instances. More...

#include <Factory.hpp>

Static Public Member Functions

static MPCSolute::Base< MPCParticlePositionType, MPCParticleVelocityType > * getInstance (CUDA::Simulation *const sim, const Configuration &config, RNG &rng)
 Returns a newly constructed MPC solute. More...
 

Detailed Description

Class used to construct MPC solute instances.

Definition at line 22 of file MPCSolute/Factory.hpp.

Member Function Documentation

◆ getInstance()

MPCSolute::Base< MPCParticlePositionType, MPCParticleVelocityType > * MPCSolute::Factory::getInstance ( CUDA::Simulation *const  sim,
const Configuration config,
RNG rng 
)
static

Returns a newly constructed MPC solute.

The caller is responsible for deleting the pointer. Returns nullptr if mpc.solute is not set.

Exceptions
OpenMPCD::UnimplementedException
Parameters
[in]simThe simulation instance.
[in]configThe simulation configuration.
[in]rngA random number generator.

Definition at line 11 of file MPCSolute/Factory.cpp.


The documentation for this class was generated from the following files: