Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | Static Public Attributes | List of all members
shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel > Class Template Reference
+ Collaboration diagram for shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >:

Public Types

using Tscal = shambase::VecComponent< Tvec >
 
using Kernel = SPHKernel< Tscal >
 
using Config = SolverConfig< Tvec, SPHKernel >
 
using Storage = SolverStorage< Tvec, u32 >
 

Public Member Functions

 NeighbourCache (ShamrockCtx &context, Config &solver_config, Storage &storage)
 
void start_neighbors_cache ()
 
void start_neighbors_cache_2stages ()
 

Public Attributes

ShamrockCtxcontext
 
Configsolver_config
 
Storagestorage
 

Static Public Attributes

static constexpr u32 dim = shambase::VectorProperties<Tvec>::dimension
 

Detailed Description

template<class Tvec, class Tmorton, template< class > class SPHKernel>
class shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >

Definition at line 28 of file NeighbourCache.hpp.

Member Typedef Documentation

◆ Config

template<class Tvec , class Tmorton , template< class > class SPHKernel>
using shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::Config = SolverConfig<Tvec, SPHKernel>

Definition at line 34 of file NeighbourCache.hpp.

◆ Kernel

template<class Tvec , class Tmorton , template< class > class SPHKernel>
using shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::Kernel = SPHKernel<Tscal>

Definition at line 32 of file NeighbourCache.hpp.

◆ Storage

template<class Tvec , class Tmorton , template< class > class SPHKernel>
using shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::Storage = SolverStorage<Tvec, u32>

Definition at line 35 of file NeighbourCache.hpp.

◆ Tscal

template<class Tvec , class Tmorton , template< class > class SPHKernel>
using shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::Tscal = shambase::VecComponent<Tvec>

Definition at line 30 of file NeighbourCache.hpp.

Constructor & Destructor Documentation

◆ NeighbourCache()

template<class Tvec , class Tmorton , template< class > class SPHKernel>
shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::NeighbourCache ( ShamrockCtx context,
Config solver_config,
Storage storage 
)
inline

Definition at line 41 of file NeighbourCache.hpp.

Member Function Documentation

◆ start_neighbors_cache()

template<class Tvec , class Tmorton , template< class > class SPHKernel>
void shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::start_neighbors_cache ( )

Definition at line 30 of file NeighbourCache.cpp.

◆ start_neighbors_cache_2stages()

template<class Tvec , class Tmorton , template< class > class SPHKernel>
void shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::start_neighbors_cache_2stages ( )

Definition at line 223 of file NeighbourCache.cpp.

Member Data Documentation

◆ context

template<class Tvec , class Tmorton , template< class > class SPHKernel>
ShamrockCtx& shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::context

Definition at line 37 of file NeighbourCache.hpp.

◆ dim

template<class Tvec , class Tmorton , template< class > class SPHKernel>
constexpr u32 shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::dim = shambase::VectorProperties<Tvec>::dimension
staticconstexpr

Definition at line 31 of file NeighbourCache.hpp.

◆ solver_config

template<class Tvec , class Tmorton , template< class > class SPHKernel>
Config& shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::solver_config

Definition at line 38 of file NeighbourCache.hpp.

◆ storage

template<class Tvec , class Tmorton , template< class > class SPHKernel>
Storage& shammodels::sph::modules::NeighbourCache< Tvec, Tmorton, SPHKernel >::storage

Definition at line 39 of file NeighbourCache.hpp.


The documentation for this class was generated from the following files: