Template Numerical Library version\ main:a0a944a8c
Loading...
Searching...
No Matches
TNL::Functions::VectorField< Size, MeshFunctionView< Mesh, MeshEntityDimension, Real > > Class Template Reference
Inheritance diagram for TNL::Functions::VectorField< Size, MeshFunctionView< Mesh, MeshEntityDimension, Real > >:
Collaboration diagram for TNL::Functions::VectorField< Size, MeshFunctionView< Mesh, MeshEntityDimension, Real > >:

Public Types

typedef MeshType::DeviceType DeviceType
typedef Pointers::SharedPointer< FunctionTypeFunctionPointer
typedef MeshFunctionView< MeshType, MeshEntityDimension, RealTypeFunctionType
typedef MeshType::GlobalIndexType IndexType
typedef Pointers::SharedPointer< MeshType > MeshPointer
typedef Mesh MeshType
typedef FunctionType::PointType PointType
typedef Real RealType
typedef Containers::StaticVector< Size, RealTypeVectorType
Public Types inherited from TNL::Functions::Domain< MeshFunctionView< Mesh, MeshEntityDimension, Real >::getDomainDimension(), MeshFunctionView< Mesh, MeshEntityDimension, Real >::getDomainType() >
using DeviceType

Public Member Functions

 VectorField (const MeshPointer &meshPointer)
template<typename Vector>
void bind (const MeshPointer &meshPointer, Pointers::SharedPointer< Vector > &dataPtr, IndexType offset=0)
template<typename Vector>
void bind (const MeshPointer &meshPointer, Vector &data, IndexType offset=0)
void bind (VectorField &vectorField)
VectorType getElement (const IndexType i) const
template<typename Device = Devices::Host>
__cuda_callable__ const MeshType & getMesh () const
const MeshPointergetMeshPointer () const
template<typename EntityType>
__cuda_callable__ VectorType getVector (const EntityType &meshEntity) const
__cuda_callable__ VectorType getVector (const IndexType index) const
__cuda_callable__ FunctionPointeroperator[] (int i)
__cuda_callable__ const FunctionPointeroperator[] (int i) const
__cuda_callable__ void setElement (const IndexType i, const VectorType &v)
void setMesh (const MeshPointer &meshPointer)
bool setup (const MeshPointer &meshPointer, const Config::ParameterContainer &parameters, const String &prefix="")
template<typename EntityType>
void setValue (const EntityType &meshEntity, const FunctionType &value)
bool write (const std::string &functionName, const std::string &fileName, const std::string &fileFormat="auto") const

Static Public Member Functions

static void configSetup (Config::ConfigDescription &config, const String &prefix="")
static IndexType getDofs (const MeshPointer &meshPointer)
static constexpr int getEntitiesDimension ()
static constexpr int getMeshDimension ()
static constexpr int getVectorDimension ()
Static Public Member Functions inherited from TNL::Functions::Domain< MeshFunctionView< Mesh, MeshEntityDimension, Real >::getDomainDimension(), MeshFunctionView< Mesh, MeshEntityDimension, Real >::getDomainType() >
static constexpr int getDomainDimension ()
static constexpr DomainType getDomainType ()

Protected Attributes

Containers::StaticArray< Size, FunctionPointervectorField

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