Template Class Field

Inheritance Relationships

Derived Type

Class Documentation

template<typename T>
class Field

Subclassed by pcms::Function< T >

Public Functions

Field(Field&&) = default
Field &operator=(Field&&) = default
Field(const Field&) = delete
Field &operator=(const Field&) = delete
~Field() = default
inline FieldData<T> &GetData() noexcept
inline const FieldData<T> &GetData() const noexcept
inline const FieldLayout &GetLayout() const
inline const std::string &GetName() const noexcept
inline ValueView<const T, HostMemorySpace> GetDOFHolderDataHost() const
inline ValueView<const T, DeviceMemorySpace> GetDOFHolderData() const
inline void SetDOFHolderDataHost(ValueView<const T, HostMemorySpace> v)
inline void SetDOFHolderData(ValueView<const T, DeviceMemorySpace> v)
inline void SetDOFHolderDataUncheckedHost(Rank2View<const T, HostMemorySpace> v)
inline void SetDOFHolderDataUnchecked(Rank2View<const T, DeviceMemorySpace> v)

Protected Functions

inline Field(std::string name, std::shared_ptr<const FieldLayout> layout, std::unique_ptr<FieldData<T>> data)
inline void CheckWriteTag(const ValueBasis &basis) const
inline void CheckWriteExtents(size_t num_holders, size_t num_components) const
inline const DOFAccess<T> &RequireDOFAccess() const
inline DOFAccess<T> &RequireDOFAccess()
inline Rank2View<const T, HostMemorySpace> OwnedValuesHost() const
inline void SetOwnedValuesFromHost(Rank2View<const T, HostMemorySpace> values)

Friends

friend class FieldFactory
friend class FunctionSpace