Template Numerical Library version\ main:f17d0c8
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Static Public Member Functions | Protected Attributes | List of all members
TNL::Functions::VectorField< Size, MeshFunctionView< Mesh, MeshEntityDimension, Real > > Class Template Reference
Inheritance diagram for TNL::Functions::VectorField< Size, MeshFunctionView< Mesh, MeshEntityDimension, Real > >:
Inheritance graph
[legend]
Collaboration diagram for TNL::Functions::VectorField< Size, MeshFunctionView< Mesh, MeshEntityDimension, Real > >:
Collaboration graph
[legend]

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 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: