Public Member Functions | List of all members
HasSticker Class Reference

Checks if a cell contains a certain sticker. More...

#include <simple_cell_updater.hpp>

Inheritance diagram for HasSticker:
Inheritance graph
[legend]
Collaboration diagram for HasSticker:
Collaboration graph
[legend]

Public Member Functions

 HasSticker (const string &sticker_name)
 Class constructor. More...
 
bool operator() (const Tessellation &tess, const PhysicalGeometry &pg, const EquationOfState &eos, const vector< Extensive > &extensives, const vector< ComputationalCell > &cells, const CacheData &cd, const size_t index, TracerStickerNames const &tracerstickernames) const
 Checks if a cell satisfies a certain condition. More...
 

Detailed Description

Checks if a cell contains a certain sticker.

Definition at line 107 of file simple_cell_updater.hpp.

Constructor & Destructor Documentation

◆ HasSticker()

HasSticker::HasSticker ( const string &  sticker_name)
explicit

Class constructor.

Parameters
sticker_nameSticker name

Definition at line 241 of file simple_cell_updater.cpp.

Here is the caller graph for this function:

Member Function Documentation

◆ operator()()

bool HasSticker::operator() ( const Tessellation tess,
const PhysicalGeometry pg,
const EquationOfState eos,
const vector< Extensive > &  extensives,
const vector< ComputationalCell > &  cells,
const CacheData cd,
const size_t  index,
TracerStickerNames const &  tracerstickernames 
) const
virtual

Checks if a cell satisfies a certain condition.

Parameters
tessTessellation
pgPhysical geometry
eosEquation of state
extensivesExtensives
cellsComputational cells
cdCached data
indexCell index
tracerstickernamesTHe names of the stickers and tracers
Returns
True if condition is met, false otherwise

Implements SimpleCellUpdater::Condition.

Definition at line 245 of file simple_cell_updater.cpp.

Here is the call graph for this function:

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