Go to the documentation of this file.
21 #ifndef __trieSurfaceField_hpp__
22 #define __trieSurfaceField_hpp__
34 template<
class T,
class MemorySpace=
void>
173 const anyList& varList)
override
219 #endif //__trieSurfaceField_hpp__
#define notImplementedFunction
Report that a function is yet not implemented.
#define fatalExit
Fatal exit.
bool hearChanges(real t, real dt, uint32 iter, const message &msg, const anyList &varList) override
const FieldType & field() const
~triSurfaceField() override=default
bool read(iIstream &is, const IOPattern &iop) override
bool write(iOstream &is, const IOPattern &iop) const override
INLINE_FUNCTION_H auto deviceView() const
Device view range [0, size)
Interface class for any input stream
#define fatalErrorInFunction
Report a fatal error and function name and exit the application.
const auto & surface() const
const auto & deviceViewAll() const
INLINE_FUNCTION_H auto hostView() const
Return a view accessible on Host in range [0,size)
typename FieldType::VectorType VectorType
const repository * owner() const override
typename FieldType::execution_space execution_space
triSurfaceField(const objectFile &objf, multiTriSurface &surface, const T &defVal)
INLINE_FUNCTION_H auto & deviceViewAll()
Device view range [0,capcity)
INLINE_FUNCTION_H void assign(size_t n, const T &val)
Change size of the vector and assign val to vector and.
void assign(const std::vector< T > &vals)
INLINE_FUNCTION_H uint32 capacity() const
TypeInfoTemplate111("triSurfaceField", T, VectorType::memoerySpaceName())
const multiTriSurface & surface_
typename VectorType::memory_space memory_space
Interface class for any output stream.
VectorSingle< T, MemorySpace > VectorType
typename VectorType::execution_space execution_space
typename FieldType::memory_space memory_space
INLINE_FUNCTION_H uint32 size() const
Size of the vector.
void fillField(rangeU32 span, const T &val)