MeshFields
GPU accelerated mesh-based fields
List of all members
MeshField::FieldWithController< Ctrlr, Field > Struct Template Reference

Return type of CreateLagrangeField/CreateCoordinateField. More...

#include <MeshField_ShapeField.hpp>

Collaboration diagram for MeshField::FieldWithController< Ctrlr, Field >:
Collaboration graph
[legend]

Detailed Description

template<typename Ctrlr, typename Field>
struct MeshField::FieldWithController< Ctrlr, Field >

Return type of CreateLagrangeField/CreateCoordinateField.

Some Controllers (e.g. CabanaController) hand out slices that only stay valid while the Controller that created them is alive. field is safe to copy into device code (KOKKOS_INLINE_FUNCTION contexts), but ctrlr must only ever be used/copied in host code, and must be kept alive by the caller for as long as field is used.

Definition at line 41 of file MeshField_ShapeField.hpp.


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