Lattice Microbes 2.5
This is for whole cell modeling
Loading...
Searching...
No Matches
MESolverFactory Class Reference

A factory object used to create Master Equation simulation instances. More...

#include <MESolverFactory.h>

Public Member Functions

 MESolverFactory ()
 Create the factory.
void setSolver (string solver)
 Set the type of solver the factory makes.
bool needsReactionModel ()
 Tell if solver needs a reaction model.
bool needsDiffusionModel ()
 Tell if solver needs a diffusion model.
MESolverinstantiate ()
 Get an instance of a MESolver object for running a replicate.

Detailed Description

A factory object used to create Master Equation simulation instances.

Constructor & Destructor Documentation

◆ MESolverFactory()

lm::me::MESolverFactory::MESolverFactory ( )

Create the factory.

Member Function Documentation

◆ instantiate()

MESolver * lm::me::MESolverFactory::instantiate ( )

Get an instance of a MESolver object for running a replicate.

Returns
The new solver instance

◆ needsDiffusionModel()

bool lm::me::MESolverFactory::needsDiffusionModel ( )

Tell if solver needs a diffusion model.

◆ needsReactionModel()

bool lm::me::MESolverFactory::needsReactionModel ( )

Tell if solver needs a reaction model.

◆ setSolver()

void lm::me::MESolverFactory::setSolver ( string solver)

Set the type of solver the factory makes.

Parameters
solverThe name of the solver from the command line

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