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

Public Types

using DeviceType = typename MeshType::DeviceType
 
using IndexType = typename MeshType::GlobalIndexType
 
using MeshPointer = Pointers::SharedPointer< MeshType >
 
using MeshType = Mesh
 
using RealType = Real
 
using VectorType = Containers::Vector< RealType, DeviceType, IndexType >
 
- Public Types inherited from TNL::Functions::Domain< Mesh::getMeshDimension(), MeshDomain >
using DeviceType
 

Public Member Functions

 MeshFunction (const MeshFunction &meshFunction)
 
 MeshFunction (const MeshPointer &meshPointer)
 
bool deepRefresh (const RealType &time=0.0) const
 
__cuda_callable__ VectorTypegetData ()
 
__cuda_callable__ const VectorTypegetData () const
 
RealType getLpNorm (const RealType &p) const
 
RealType getMaxNorm () const
 
template<typename Device = Devices::Host>
__cuda_callable__ const MeshType & getMesh () const
 
MeshPointergetMeshPointer ()
 
const MeshPointergetMeshPointer () const
 
template<typename EntityType >
RealType getValue (const EntityType &meshEntity) const
 
template<typename EntityType >
Functions::MeshFunction< Mesh, MeshEntityDimension, Real >::RealType getValue (const EntityType &meshEntity) const
 
template<typename EntityType >
__cuda_callable__ Functions::MeshFunction< Mesh, MeshEntityDimension, Real >::RealType & operator() (const EntityType &meshEntity, const RealType &time)
 
template<typename EntityType >
__cuda_callable__ const Functions::MeshFunction< Mesh, MeshEntityDimension, Real >::RealType & operator() (const EntityType &meshEntity, const RealType &time) const
 
template<typename EntityType >
__cuda_callable__ RealTypeoperator() (const EntityType &meshEntity, const RealType &time=0)
 
template<typename EntityType >
__cuda_callable__ const RealTypeoperator() (const EntityType &meshEntity, const RealType &time=0) const
 
template<typename Function >
MeshFunctionoperator+= (const Function &f)
 
template<typename Function >
MeshFunction< Mesh, MeshEntityDimension, Real > & operator+= (const Function &f)
 
template<typename Function >
MeshFunctionoperator-= (const Function &f)
 
template<typename Function >
MeshFunction< Mesh, MeshEntityDimension, Real > & operator-= (const Function &f)
 
template<typename Function >
MeshFunctionoperator= (const Function &f)
 
template<typename Function >
MeshFunction< Mesh, MeshEntityDimension, Real > & operator= (const Function &f)
 
MeshFunctionoperator= (const MeshFunction &f)
 
__cuda_callable__ RealTypeoperator[] (const IndexType &meshEntityIndex)
 
__cuda_callable__ const RealTypeoperator[] (const IndexType &meshEntityIndex) const
 
bool refresh (const RealType &time=0.0) const
 
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 RealType &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 Public Member Functions inherited from TNL::Functions::Domain< Mesh::getMeshDimension(), MeshDomain >
static constexpr int getDomainDimension ()
 
static constexpr DomainType getDomainType ()
 

Protected Attributes

VectorType data
 
MeshPointer meshPointer
 

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