MarkEntityUndefined Struct Reference

SPADES API: spades::particles::MarkEntityUndefined Struct Reference
SPADES API
spades::particles::MarkEntityUndefined Struct Reference

Functor for making a entity undefined. More...

#include <EntityOps.H>

Public Member Functions

template<class PArrs >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void operator() (const amrex::Long n, PArrs &parrs) const
 Mark a entity as undefined.
 

Detailed Description

Functor for making a entity undefined.

Member Function Documentation

◆ operator()()

template<class PArrs >
AMREX_GPU_HOST_DEVICE AMREX_FORCE_INLINE void spades::particles::MarkEntityUndefined::operator() ( const amrex::Long n,
PArrs & parrs ) const
inline

Mark a entity as undefined.

Parameters
n[in] entity index
parrs[in, out] entity arrays
23 {
25 parrs.m_rdata[CommonRealData::timestamp][n] = 0.0;
26 }
@ type_id
Definition ParticleData.H:18
@ timestamp
Definition ParticleData.H:12
static constexpr int UNDEFINED
Undefined entity.
Definition EntityData.H:29

The documentation for this struct was generated from the following file: