Shamrock 2025.10.0
Astrophysical Code
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Public Attributes | List of all members
legacy::PatchField< type > Class Template Reference

Define a field attached to a patch (example: FMM multipoles, hmax in SPH) More...

#include <shamrock/include/shamrock/legacy/patch/utility/patch_field.hpp>

+ Collaboration diagram for legacy::PatchField< type >:

Public Types

using T = type
 

Public Member Functions

void build_global (MPI_Datatype &dtype)
 
BufferedPField< type > get_buffers ()
 

Public Attributes

std::vector< type > local_nodes_value
 
std::vector< type > global_values
 

Detailed Description

template<class type>
class legacy::PatchField< type >

Define a field attached to a patch (example: FMM multipoles, hmax in SPH)

Template Parameters
typetype of object to store

Definition at line 37 of file patch_field.hpp.

Member Typedef Documentation

◆ T

template<class type >
using legacy::PatchField< type >::T = type

Definition at line 39 of file patch_field.hpp.

Member Function Documentation

◆ build_global()

template<class type >
void legacy::PatchField< type >::build_global ( MPI_Datatype &  dtype)
inline

Definition at line 45 of file patch_field.hpp.

◆ get_buffers()

template<class type >
BufferedPField< type > legacy::PatchField< type >::get_buffers ( )
inline

Definition at line 50 of file patch_field.hpp.

Member Data Documentation

◆ global_values

template<class type >
std::vector<type> legacy::PatchField< type >::global_values

Definition at line 43 of file patch_field.hpp.

◆ local_nodes_value

template<class type >
std::vector<type> legacy::PatchField< type >::local_nodes_value

Definition at line 41 of file patch_field.hpp.


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