gmsh-TingyuanDoc  0.1
An Open-Source Timing-driven Analytical Mixed-size FPGA Placer
ScalarTermConstant< T2 > Class Template Reference

#include <terms.h>

Inheritance diagram for ScalarTermConstant< T2 >:
Collaboration diagram for ScalarTermConstant< T2 >:

Public Member Functions

 ScalarTermConstant (T2 val_=T2())
 
virtual ~ScalarTermConstant ()
 
virtual void get (MElement *ele, int npts, IntPt *GP, T2 &val) const
 
virtual void get (MElement *ele, int npts, IntPt *GP, std::vector< T2 > &vval) const
 
virtual void get (MVertex *ver, T2 &val) const
 
virtual ScalarTermBase< T2 > * clone () const
 
- Public Member Functions inherited from ScalarTerm< double >
virtual ~ScalarTerm ()
 
- Public Member Functions inherited from ScalarTermBase< double >
virtual ~ScalarTermBase ()
 
virtual void get (MElement *ele, int npts, IntPt *GP, double &val) const=0
 
virtual void get (MElement *ele, int npts, IntPt *GP, std::vector< double > &vval) const=0
 
virtual ScalarTermBase< double > * clone () const=0
 

Protected Attributes

T2 cst
 

Detailed Description

template<class T2 = double>
class ScalarTermConstant< T2 >

Definition at line 60 of file terms.h.

Constructor & Destructor Documentation

◆ ScalarTermConstant()

template<class T2 = double>
ScalarTermConstant< T2 >::ScalarTermConstant ( T2  val_ = T2())
inline

Definition at line 65 of file terms.h.

◆ ~ScalarTermConstant()

template<class T2 = double>
virtual ScalarTermConstant< T2 >::~ScalarTermConstant ( )
inlinevirtual

Definition at line 66 of file terms.h.

Member Function Documentation

◆ clone()

template<class T2 = double>
virtual ScalarTermBase<T2>* ScalarTermConstant< T2 >::clone ( ) const
inlinevirtual

Definition at line 71 of file terms.h.

◆ get() [1/3]

template<class T2 >
void ScalarTermConstant< T2 >::get ( MElement ele,
int  npts,
IntPt GP,
std::vector< T2 > &  vval 
) const
virtual

Definition at line 54 of file terms.hpp.

◆ get() [2/3]

template<class T2 >
void ScalarTermConstant< T2 >::get ( MElement ele,
int  npts,
IntPt GP,
T2 &  val 
) const
virtual

Definition at line 41 of file terms.hpp.

Here is the call graph for this function:

◆ get() [3/3]

template<class T2 >
void ScalarTermConstant< T2 >::get ( MVertex ver,
T2 &  val 
) const
virtual

Definition at line 62 of file terms.hpp.

Member Data Documentation

◆ cst

template<class T2 = double>
T2 ScalarTermConstant< T2 >::cst
protected

Definition at line 62 of file terms.h.

Referenced by ScalarTermConstant< T2 >::clone().


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