Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Member Functions | List of all members
GlobalVariable< vartype, T > Class Template Reference

Public Member Functions

template<class Lambda >
void compute_var_patch (PatchScheduler &sched, Lambda &&compute_fct)
 
void reduce_val ()
 
get_val ()
 
void reduce_val ()
 
void reduce_val ()
 
void reduce_val ()
 

Detailed Description

template<GlobalVariableType vartype, class T>
class GlobalVariable< vartype, T >

Definition at line 24 of file global_var.hpp.

Member Function Documentation

◆ compute_var_patch()

template<GlobalVariableType vartype, class T >
template<class Lambda >
void GlobalVariable< vartype, T >::compute_var_patch ( PatchScheduler sched,
Lambda &&  compute_fct 
)
inline

Definition at line 34 of file global_var.hpp.

◆ get_val()

template<GlobalVariableType vartype, class T >
T GlobalVariable< vartype, T >::get_val ( )
inline

Definition at line 49 of file global_var.hpp.

◆ reduce_val() [1/3]

void GlobalVariable< GlobalVariableType::min, f32 >::reduce_val ( )

Definition at line 105 of file global_var.cpp.

◆ reduce_val() [2/3]

void GlobalVariable< GlobalVariableType::max, f32 >::reduce_val ( )

Definition at line 113 of file global_var.cpp.

◆ reduce_val() [3/3]

void GlobalVariable< GlobalVariableType::sum, f32 >::reduce_val ( )

Definition at line 121 of file global_var.cpp.


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