Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
KernelSumFluxDust< Tvec, TgridVec > Struct Template Reference

Public Types

using Tscal = shambase::VecComponent< Tvec >
 
using AMRBlock = shammodels::amr::AMRBlock< Tvec, TgridVec, 1 >
 
using AMRGraph = shammodels::basegodunov::modules::NeighGraph
 

Public Member Functions

void operator() (u32 tid, const Tscal *__restrict flux_rho_face_xp, const Tscal *__restrict flux_rho_face_xm, const Tscal *__restrict flux_rho_face_yp, const Tscal *__restrict flux_rho_face_ym, const Tscal *__restrict flux_rho_face_zp, const Tscal *__restrict flux_rho_face_zm, const Tvec *__restrict flux_rhov_face_xp, const Tvec *__restrict flux_rhov_face_xm, const Tvec *__restrict flux_rhov_face_yp, const Tvec *__restrict flux_rhov_face_ym, const Tvec *__restrict flux_rhov_face_zp, const Tvec *__restrict flux_rhov_face_zm, const Tscal *__restrict block_cell_sizes, const Tvec *__restrict cell0block_aabb_lower, const AMRGraph::ro_access graph_iter_xp, const AMRGraph::ro_access graph_iter_xm, const AMRGraph::ro_access graph_iter_yp, const AMRGraph::ro_access graph_iter_ym, const AMRGraph::ro_access graph_iter_zp, const AMRGraph::ro_access graph_iter_zm, Tscal *__restrict dt_rho, Tvec *__restrict dt_rhov) const
 

Static Public Member Functions

static shammath::AABB< Tvec > get_cell_aabb (u32 id, const Tvec *__restrict cell0block_aabb_lower, const Tscal *__restrict block_cell_sizes)
 
static Tscal get_face_surface (u32 id_a, u32 id_b, const Tvec *__restrict cell0block_aabb_lower, const Tscal *__restrict block_cell_sizes, Tscal dxfact)
 

Public Attributes

u32 ndust
 
Tscal dxfact
 

Detailed Description

template<class Tvec, class TgridVec>
struct KernelSumFluxDust< Tvec, TgridVec >

Definition at line 20 of file SumFluxDust.cpp.

Member Typedef Documentation

◆ AMRBlock

template<class Tvec , class TgridVec >
using KernelSumFluxDust< Tvec, TgridVec >::AMRBlock = shammodels::amr::AMRBlock<Tvec, TgridVec, 1>

Definition at line 22 of file SumFluxDust.cpp.

◆ AMRGraph

template<class Tvec , class TgridVec >
using KernelSumFluxDust< Tvec, TgridVec >::AMRGraph = shammodels::basegodunov::modules::NeighGraph

Definition at line 24 of file SumFluxDust.cpp.

◆ Tscal

template<class Tvec , class TgridVec >
using KernelSumFluxDust< Tvec, TgridVec >::Tscal = shambase::VecComponent<Tvec>

Definition at line 21 of file SumFluxDust.cpp.

Member Function Documentation

◆ get_cell_aabb()

template<class Tvec , class TgridVec >
static shammath::AABB< Tvec > KernelSumFluxDust< Tvec, TgridVec >::get_cell_aabb ( u32  id,
const Tvec *__restrict  cell0block_aabb_lower,
const Tscal *__restrict  block_cell_sizes 
)
inlinestatic

Definition at line 29 of file SumFluxDust.cpp.

◆ get_face_surface()

template<class Tvec , class TgridVec >
static Tscal KernelSumFluxDust< Tvec, TgridVec >::get_face_surface ( u32  id_a,
u32  id_b,
const Tvec *__restrict  cell0block_aabb_lower,
const Tscal *__restrict  block_cell_sizes,
Tscal  dxfact 
)
inlinestatic

Definition at line 51 of file SumFluxDust.cpp.

◆ operator()()

template<class Tvec , class TgridVec >
void KernelSumFluxDust< Tvec, TgridVec >::operator() ( u32  tid,
const Tscal *__restrict  flux_rho_face_xp,
const Tscal *__restrict  flux_rho_face_xm,
const Tscal *__restrict  flux_rho_face_yp,
const Tscal *__restrict  flux_rho_face_ym,
const Tscal *__restrict  flux_rho_face_zp,
const Tscal *__restrict  flux_rho_face_zm,
const Tvec *__restrict  flux_rhov_face_xp,
const Tvec *__restrict  flux_rhov_face_xm,
const Tvec *__restrict  flux_rhov_face_yp,
const Tvec *__restrict  flux_rhov_face_ym,
const Tvec *__restrict  flux_rhov_face_zp,
const Tvec *__restrict  flux_rhov_face_zm,
const Tscal *__restrict  block_cell_sizes,
const Tvec *__restrict  cell0block_aabb_lower,
const AMRGraph::ro_access  graph_iter_xp,
const AMRGraph::ro_access  graph_iter_xm,
const AMRGraph::ro_access  graph_iter_yp,
const AMRGraph::ro_access  graph_iter_ym,
const AMRGraph::ro_access  graph_iter_zp,
const AMRGraph::ro_access  graph_iter_zm,
Tscal *__restrict  dt_rho,
Tvec *__restrict  dt_rhov 
) const
inline

Definition at line 78 of file SumFluxDust.cpp.

Member Data Documentation

◆ dxfact

template<class Tvec , class TgridVec >
Tscal KernelSumFluxDust< Tvec, TgridVec >::dxfact

Definition at line 27 of file SumFluxDust.cpp.

◆ ndust

template<class Tvec , class TgridVec >
u32 KernelSumFluxDust< Tvec, TgridVec >::ndust

Definition at line 26 of file SumFluxDust.cpp.


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