Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel > Struct Template Reference

Public Types

using Tscal = shambase::VecComponent<Tvec>
using Kernel = SPHKernel<Tscal>

Public Member Functions

void operator() (unsigned int id_a, const Tvec *__restrict xyz, const Tscal *__restrict hpart, const Tvec *__restrict vxyz, const Tscal *__restrict uint, const Tscal *__restrict omega, const Tscal *__restrict pressure, const Tscal *__restrict cs, const Tscal *__restrict alpha_AV, const Tvec *__restrict B_on_rho, shamrock::tree::ObjectCache::ptrs_read ploop_ptrs, Tvec *__restrict axyz, Tscal *__restrict duint) const

Public Attributes

Tscal pmass
Tscal alpha_u
Tscal beta_AV
Tscal mu_0

Static Public Attributes

static constexpr Tscal hfactd = Kernel::hfactd
static constexpr Tscal rker2 = Kernel::Rkern * Kernel::Rkern

Detailed Description

template<class Tvec, template< class > class SPHKernel>
struct KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel >

Definition at line 27 of file NodeUpdateDerivsVaryingAlphaAVMHD.cpp.

Member Typedef Documentation

◆ Kernel

template<class Tvec, template< class > class SPHKernel>
using KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel >::Kernel = SPHKernel<Tscal>

Definition at line 29 of file NodeUpdateDerivsVaryingAlphaAVMHD.cpp.

◆ Tscal

template<class Tvec, template< class > class SPHKernel>
using KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel >::Tscal = shambase::VecComponent<Tvec>

Definition at line 28 of file NodeUpdateDerivsVaryingAlphaAVMHD.cpp.

Member Function Documentation

◆ operator()()

template<class Tvec, template< class > class SPHKernel>
void KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel >::operator() ( unsigned int id_a,
const Tvec *__restrict xyz,
const Tscal *__restrict hpart,
const Tvec *__restrict vxyz,
const Tscal *__restrict uint,
const Tscal *__restrict omega,
const Tscal *__restrict pressure,
const Tscal *__restrict cs,
const Tscal *__restrict alpha_AV,
const Tvec *__restrict B_on_rho,
shamrock::tree::ObjectCache::ptrs_read ploop_ptrs,
Tvec *__restrict axyz,
Tscal *__restrict duint ) const
inline

Definition at line 38 of file NodeUpdateDerivsVaryingAlphaAVMHD.cpp.

Member Data Documentation

◆ alpha_u

template<class Tvec, template< class > class SPHKernel>
Tscal KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel >::alpha_u

Definition at line 34 of file NodeUpdateDerivsVaryingAlphaAVMHD.cpp.

◆ beta_AV

template<class Tvec, template< class > class SPHKernel>
Tscal KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel >::beta_AV

Definition at line 35 of file NodeUpdateDerivsVaryingAlphaAVMHD.cpp.

◆ hfactd

template<class Tvec, template< class > class SPHKernel>
Tscal KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel >::hfactd = Kernel::hfactd
staticconstexpr

Definition at line 30 of file NodeUpdateDerivsVaryingAlphaAVMHD.cpp.

◆ mu_0

template<class Tvec, template< class > class SPHKernel>
Tscal KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel >::mu_0

Definition at line 36 of file NodeUpdateDerivsVaryingAlphaAVMHD.cpp.

◆ pmass

template<class Tvec, template< class > class SPHKernel>
Tscal KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel >::pmass

Definition at line 33 of file NodeUpdateDerivsVaryingAlphaAVMHD.cpp.

◆ rker2

template<class Tvec, template< class > class SPHKernel>
Tscal KernelUpdateDerivsVaryingAlphaAVMHD< Tvec, SPHKernel >::rker2 = Kernel::Rkern * Kernel::Rkern
staticconstexpr

Definition at line 31 of file NodeUpdateDerivsVaryingAlphaAVMHD.cpp.


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