|
Peano
|
Event. More...
#include <Event.h>

Public Types | |
| enum class | Type { NotFound , AssignToSieveSet , AssignToVertex , Erase , DetachFromVertex , MoveWhileAssociatedToVertex , ConsecutiveMoveWhileAssociatedToVertex } |
Public Member Functions | |
| Event (Type type_, bool isLocal_, const tarch::la::Vector< Dimensions, double > &vertexX_, const tarch::la::Vector< Dimensions, double > &particleX, const tarch::la::Vector< Dimensions, double > &vertexH_, int treeId_, const std::string &trace_, int meshSweepIndex_) | |
| Construct an event where you can specify all the fields. | |
| Event (Type type_, bool isLocal_, const tarch::la::Vector< Dimensions, double > &vertexX_, const tarch::la::Vector< Dimensions, double > &particleX, const tarch::la::Vector< Dimensions, double > &vertexH_, int treeId_, const std::string &trace_) | |
| Construct an event which identifies a vertex assignment or the removal from a vertex. | |
| Event (Type type_, const tarch::la::Vector< Dimensions, double > &vertexX_, const tarch::la::Vector< Dimensions, double > &previousParticleX_, const tarch::la::Vector< Dimensions, double > &vertexH_, int treeId_, const std::string &trace_) | |
| Construct a move event. | |
| Event (Type type_, bool isLocal_, int treeId_, const std::string &trace_) | |
| Construct an event that identifies the association to the sieve set or an erase. | |
| Event (Type type_) | |
| Construct an invalid event. | |
| std::string | toString () const |
Data Fields | |
| Type | type |
| bool | isLocal |
| tarch::la::Vector< Dimensions, double > | vertexX |
| tarch::la::Vector< Dimensions, double > | previousParticleX |
| tarch::la::Vector< Dimensions, double > | vertexH |
| int | treeId |
| std::string | trace |
| int | meshSweepIndex |
Event.
An event is any event related to the particle-grid association. That can be an assignmend or detaching to a vertex or sieve set, or particles being moved in space.
|
strong |
| toolbox::particles::assignmentchecks::internal::Event::Event | ( | Type | type_, |
| bool | isLocal_, | ||
| const tarch::la::Vector< Dimensions, double > & | vertexX_, | ||
| const tarch::la::Vector< Dimensions, double > & | particleX, | ||
| const tarch::la::Vector< Dimensions, double > & | vertexH_, | ||
| int | treeId_, | ||
| const std::string & | trace_, | ||
| int | meshSweepIndex_ | ||
| ) |
Construct an event where you can specify all the fields.
| toolbox::particles::assignmentchecks::internal::Event::Event | ( | Type | type_, |
| bool | isLocal_, | ||
| const tarch::la::Vector< Dimensions, double > & | vertexX_, | ||
| const tarch::la::Vector< Dimensions, double > & | particleX, | ||
| const tarch::la::Vector< Dimensions, double > & | vertexH_, | ||
| int | treeId_, | ||
| const std::string & | trace_ | ||
| ) |
Construct an event which identifies a vertex assignment or the removal from a vertex.
| toolbox::particles::assignmentchecks::internal::Event::Event | ( | Type | type_, |
| const tarch::la::Vector< Dimensions, double > & | vertexX_, | ||
| const tarch::la::Vector< Dimensions, double > & | previousParticleX_, | ||
| const tarch::la::Vector< Dimensions, double > & | vertexH_, | ||
| int | treeId_, | ||
| const std::string & | trace_ | ||
| ) |
Construct a move event.
This event should always be tied to an identifier in the global map which uses the new position as key.
| toolbox::particles::assignmentchecks::internal::Event::Event | ( | Type | type_, |
| bool | isLocal_, | ||
| int | treeId_, | ||
| const std::string & | trace_ | ||
| ) |
Construct an event that identifies the association to the sieve set or an erase.
| toolbox::particles::assignmentchecks::internal::Event::Event | ( | Type | type_ | ) |
Construct an invalid event.
Is used as return value if no data is found in the database.
| std::string toolbox::particles::assignmentchecks::internal::Event::toString | ( | ) | const |
| bool toolbox::particles::assignmentchecks::internal::Event::isLocal |
| int toolbox::particles::assignmentchecks::internal::Event::meshSweepIndex |
| tarch::la::Vector<Dimensions, double> toolbox::particles::assignmentchecks::internal::Event::previousParticleX |
| std::string toolbox::particles::assignmentchecks::internal::Event::trace |
| int toolbox::particles::assignmentchecks::internal::Event::treeId |
| Type toolbox::particles::assignmentchecks::internal::Event::type |
Definition at line 31 of file Event.h.
Referenced by exahype2.api.dslhype.SyntaxTree.Name::get_type().
| tarch::la::Vector<Dimensions, double> toolbox::particles::assignmentchecks::internal::Event::vertexH |
| tarch::la::Vector<Dimensions, double> toolbox::particles::assignmentchecks::internal::Event::vertexX |