DeviceOp Struct Reference

SPADES API: spades::ic::Constant::DeviceOp Struct Reference
SPADES API
spades::ic::Constant::DeviceOp Struct Reference

Device functor for the Constant initial condition. More...

#include <IC.H>

Public Member Functions

AMREX_GPU_DEVICE void operator() (const amrex::IntVect &, amrex::GeometryData const &, amrex::Real &state) const
 

Detailed Description

Device functor for the Constant initial condition.

Member Function Documentation

◆ operator()()

AMREX_GPU_DEVICE void spades::ic::Constant::DeviceOp::operator() ( const amrex::IntVect & ,
amrex::GeometryData const & ,
amrex::Real & state ) const
inline
27 {
28 state = 0.0;
29 }

The documentation for this struct was generated from the following file:
  • /home/runner/work/spades/spades/Source/IC.H