|
| HoleAgent (World &world, int site, QObject *parent=0) |
| Construct HoleAgent. More...
|
|
| ChargeAgent (Agent::Type getType, World &world, Grid &grid, int site, QObject *parent=0) |
| Construct charge. More...
|
|
virtual | ~ChargeAgent () |
| Destroy charge. More...
|
|
int | charge () |
| Get the charge of the ChargeAgent. More...
|
|
void | chooseFuture () |
| Propose a random site to move to. More...
|
|
void | decideFuture () |
| Decide what should happen, called after chooseFuture. More...
|
|
void | completeTick () |
| Perform action, called after decideFuture. More...
|
|
bool | removed () |
| True if decideFuture removed the charge from the grid. More...
|
|
int | lifetime () |
| Number of steps ChargeAgent has existed. More...
|
|
int | pathlength () |
| Number of sites ChargeAgent has traversed. More...
|
|
void | setOpenCLID (int id) |
| Set the ChargeAgent OpenCL identifier. More...
|
|
int | getOpenCLID () |
| Get the ChargeAgent OpenCL identifier. More...
|
|
double | coulombInteraction () |
| Perform coulombCPU() or coulombGPU() More...
|
|
void | coulombCPU () |
| Calculate the Coulomb potential on the CPU. More...
|
|
void | coulombGPU () |
| Retrieve the Coulomb potential from the GPU More...
|
|
void | compareCoulomb () |
| compare results for CPU and GPU Coulomb (assumes kernel was called) More...
|
|
Grid & | getGrid () |
| Get the grid this ChargeAgent exists in. More...
|
|
void | setRemoved (const bool &status=true) |
| Set the removed status of this ChargeAgent. More...
|
|
| Agent (Type type, World &world, int site=0, QObject *parent=0) |
| Create an Agent. More...
|
|
virtual | ~Agent () |
| Destroy Agent. More...
|
|
const QVector< int > & | getNeighbors () const |
| Get Agent neighbor list. More...
|
|
void | setNeighbors (QVector< int > neighbors) |
| Set Agent neighbor list. More...
|
|
int | getCurrentSite () const |
| Get Agent current site. More...
|
|
int | getFutureSite () const |
| Get Agent future site. More...
|
|
void | setCurrentSite (int site) |
| Set Agent current site. More...
|
|
void | setFutureSite (int site) |
| Set Agent future site. More...
|
|
Type | getType () const |
| Get Agent::Type enum. More...
|
|
World & | getWorld () const |
| Get Langmuir::World reference. More...
|
|
A class to represent moving positive charges.