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

#include <functionSpace.h>

Inheritance diagram for ScalarToAnyFunctionSpace< T >:
Collaboration diagram for ScalarToAnyFunctionSpace< T >:

Public Types

typedef TensorialTraits< T >::ValType ValType
 
typedef TensorialTraits< T >::GradType GradType
 
typedef TensorialTraits< T >::HessType HessType
 
- Public Types inherited from FunctionSpace< T >
typedef TensorialTraits< T >::ValType ValType
 
typedef TensorialTraits< T >::GradType GradType
 
typedef TensorialTraits< T >::HessType HessType
 
typedef TensorialTraits< T >::ThirdDevType ThirdDevType
 

Public Member Functions

template<class T2 >
 ScalarToAnyFunctionSpace (const T2 &SFS, const T &mult, int comp_)
 
template<class T2 >
 ScalarToAnyFunctionSpace (const T2 &SFS, const T &mult1, int comp1_, const T &mult2, int comp2_)
 
template<class T2 >
 ScalarToAnyFunctionSpace (const T2 &SFS, const T &mult1, int comp1_, const T &mult2, int comp2_, const T &mult3, int comp3_)
 
virtual ~ScalarToAnyFunctionSpace ()
 
virtual void f (MElement *ele, double u, double v, double w, std::vector< ValType > &vals) const
 
virtual void gradf (MElement *ele, double u, double v, double w, std::vector< GradType > &grads) const
 
virtual void hessfuvw (MElement *ele, double u, double v, double w, std::vector< HessType > &hess) const
 
virtual void gradfuvw (MElement *ele, double u, double v, double w, std::vector< GradType > &grads) const
 
virtual int getNumKeys (MElement *ele) const
 
virtual void getKeys (MElement *ele, std::vector< Dof > &keys) const
 
- Public Member Functions inherited from FunctionSpace< T >
virtual int getId (void) const
 
virtual void fuvw (MElement *ele, double u, double v, double w, std::vector< ValType > &vals) const
 
virtual void hessf (MElement *ele, double u, double v, double w, std::vector< HessType > &hess) const
 
virtual void thirdDevfuvw (MElement *ele, double u, double v, double w, std::vector< ThirdDevType > &third) const
 
virtual void thirdDevf (MElement *ele, double u, double v, double w, std::vector< ThirdDevType > &third) const
 
- Public Member Functions inherited from FunctionSpaceBase
virtual ~FunctionSpaceBase ()
 
virtual void getKeysOnVertex (MElement *ele, MVertex *v, const std::vector< int > &comp, std::vector< Dof > &keys) const
 
virtual FunctionSpaceBaseclone (const int id) const
 

Protected Attributes

std::vector< T > multipliers
 
std::vector< int > comp
 
FunctionSpace< double > * ScalarFS
 
- Protected Attributes inherited from FunctionSpace< T >
int _iField
 

Detailed Description

template<class T>
class ScalarToAnyFunctionSpace< T >

Definition at line 347 of file functionSpace.h.

Member Typedef Documentation

◆ GradType

template<class T >
typedef TensorialTraits<T>::GradType ScalarToAnyFunctionSpace< T >::GradType

Definition at line 350 of file functionSpace.h.

◆ HessType

template<class T >
typedef TensorialTraits<T>::HessType ScalarToAnyFunctionSpace< T >::HessType

Definition at line 351 of file functionSpace.h.

◆ ValType

template<class T >
typedef TensorialTraits<T>::ValType ScalarToAnyFunctionSpace< T >::ValType

Definition at line 349 of file functionSpace.h.

Constructor & Destructor Documentation

◆ ScalarToAnyFunctionSpace() [1/3]

template<class T >
template<class T2 >
ScalarToAnyFunctionSpace< T >::ScalarToAnyFunctionSpace ( const T2 &  SFS,
const T &  mult,
int  comp_ 
)
inline

Definition at line 360 of file functionSpace.h.

◆ ScalarToAnyFunctionSpace() [2/3]

template<class T >
template<class T2 >
ScalarToAnyFunctionSpace< T >::ScalarToAnyFunctionSpace ( const T2 &  SFS,
const T &  mult1,
int  comp1_,
const T &  mult2,
int  comp2_ 
)
inline

Definition at line 368 of file functionSpace.h.

◆ ScalarToAnyFunctionSpace() [3/3]

template<class T >
template<class T2 >
ScalarToAnyFunctionSpace< T >::ScalarToAnyFunctionSpace ( const T2 &  SFS,
const T &  mult1,
int  comp1_,
const T &  mult2,
int  comp2_,
const T &  mult3,
int  comp3_ 
)
inline

Definition at line 379 of file functionSpace.h.

◆ ~ScalarToAnyFunctionSpace()

template<class T >
virtual ScalarToAnyFunctionSpace< T >::~ScalarToAnyFunctionSpace ( )
inlinevirtual

Definition at line 392 of file functionSpace.h.

Member Function Documentation

◆ f()

template<class T >
virtual void ScalarToAnyFunctionSpace< T >::f ( MElement ele,
double  u,
double  v,
double  w,
std::vector< ValType > &  vals 
) const
inlinevirtual

Implements FunctionSpace< T >.

Definition at line 394 of file functionSpace.h.

◆ getKeys()

template<class T >
virtual void ScalarToAnyFunctionSpace< T >::getKeys ( MElement ele,
std::vector< Dof > &  keys 
) const
inlinevirtual

Implements FunctionSpace< T >.

Definition at line 453 of file functionSpace.h.

◆ getNumKeys()

template<class T >
virtual int ScalarToAnyFunctionSpace< T >::getNumKeys ( MElement ele) const
inlinevirtual

Implements FunctionSpace< T >.

Definition at line 448 of file functionSpace.h.

◆ gradf()

template<class T >
virtual void ScalarToAnyFunctionSpace< T >::gradf ( MElement ele,
double  u,
double  v,
double  w,
std::vector< GradType > &  grads 
) const
inlinevirtual

Implements FunctionSpace< T >.

Definition at line 408 of file functionSpace.h.

◆ gradfuvw()

template<class T >
virtual void ScalarToAnyFunctionSpace< T >::gradfuvw ( MElement ele,
double  u,
double  v,
double  w,
std::vector< GradType > &  grads 
) const
inlinevirtual

Reimplemented from FunctionSpace< T >.

Definition at line 430 of file functionSpace.h.

◆ hessfuvw()

template<class T >
virtual void ScalarToAnyFunctionSpace< T >::hessfuvw ( MElement ele,
double  u,
double  v,
double  w,
std::vector< HessType > &  hess 
) const
inlinevirtual

Implements FunctionSpace< T >.

Definition at line 425 of file functionSpace.h.

Member Data Documentation

◆ comp

◆ multipliers

◆ ScalarFS


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