Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Classes | Namespaces | Typedefs | Functions
IFieldRefs.hpp File Reference
#include "shambase/DistributedData.hpp"
#include "shambackends/math.hpp"
#include "shamrock/patch/PatchDataFieldSpan.hpp"
#include "shamrock/solvergraph/IFieldSpan.hpp"
+ Include dependency graph for IFieldRefs.hpp:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  shamrock::solvergraph::IFieldRefs< T >
 Interface for a solver graph edge representing a field as references to the underlying patch fields. More...
 

Namespaces

namespace  shamrock
 namespace for the main framework
 

Typedefs

template<class T >
using shamrock::solvergraph::PatchDataFieldRef = std::reference_wrapper< PatchDataField< T > >
 Alias for a reference to a PatchDataField.
 
template<class T >
using shamrock::solvergraph::DDPatchDataFieldRef = shambase::DistributedData< PatchDataFieldRef< T > >
 Alias for a DistributedData of PatchDataFieldRefs.
 

Functions

template<class T >
shamrock::solvergraph::get_rank_max (const IFieldRefs< T > &field_refs)
 
template<class T >
shamrock::solvergraph::get_rank_min (const IFieldRefs< T > &field_refs)
 

Detailed Description

Author
Timothée David–Cléris (tim.s.nosp@m.hamr.nosp@m.ock@p.nosp@m.roto.nosp@m.n.me)

Definition in file IFieldRefs.hpp.

Typedef Documentation

◆ DDPatchDataFieldRef

template<class T >
using shamrock::solvergraph::DDPatchDataFieldRef = typedef shambase::DistributedData<PatchDataFieldRef<T> >

Alias for a DistributedData of PatchDataFieldRefs.

Definition at line 32 of file IFieldRefs.hpp.

◆ PatchDataFieldRef

template<class T >
using shamrock::solvergraph::PatchDataFieldRef = typedef std::reference_wrapper<PatchDataField<T> >

Alias for a reference to a PatchDataField.

Definition at line 28 of file IFieldRefs.hpp.

Function Documentation

◆ get_rank_max()

template<class T >
T shamrock::solvergraph::get_rank_max ( const IFieldRefs< T > &  field_refs)

Definition at line 58 of file IFieldRefs.hpp.

◆ get_rank_min()

template<class T >
T shamrock::solvergraph::get_rank_min ( const IFieldRefs< T > &  field_refs)

Definition at line 67 of file IFieldRefs.hpp.