quad_well.h File Reference

CPP API: quad_well.h File Reference
quad_well.h File Reference
#include "memilio/math/eigen.h"
#include "d_abm/parameters.h"
#include "memilio/utils/random_number_generator.h"
#include "memilio/epidemiology/adoption_rate.h"
#include <string>
#include <vector>
Include dependency graph for quad_well.h:

Go to the source code of this file.

Classes

struct  QuadWell< InfectionState >::Agent
 Struct defining an agent for the diffusive ABM. More...
 
class  QuadWell< InfectionState >
 Implementation of diffusive ABM, see dabm::Model. More...
 

Typedefs

using Position = Eigen::Vector2d
 

Functions

size_t well_index (const Position &p)
 Get the index of the well containing the given position. More...
 

Typedef Documentation

◆ Position

using Position = Eigen::Vector2d

Function Documentation

◆ well_index()

size_t well_index ( const Position p)
inline

Get the index of the well containing the given position.