DFT-FE 1.1.0-pre
Density Functional Theory With Finite-Elements
Loading...
Searching...
No Matches
dftfe::utils::Cell< dim > Class Template Referenceabstract

This class provides the interface that will be required while interpolating a nodal data to arbitrary set of points. More...

#include <Cell.h>

Inheritance diagram for dftfe::utils::Cell< dim >:
dftfe::utils::FECell< dim >

Public Member Functions

 Cell ()
 
 Cell (const std::vector< double > &ll, const std::vector< double > &ur)
 
virtual std::pair< std::vector< double >, std::vector< double > > getBoundingBox () const
 
virtual bool isPointInside (const std::vector< double > &point, const double tol) const
 
virtual void getVertices (std::vector< std::vector< double > > &points) const
 
virtual void getVertex (dftfe::uInt i, std::vector< double > &point) const
 
virtual std::vector< double > getParametricPoint (const std::vector< double > &realPoint) const
 
virtual void getShapeFuncValues (dftfe::uInt numPointsInCell, const std::vector< double > &coordinatesOfPointsInCell, std::vector< dataTypes::number > &shapeFuncValues, dftfe::uInt cellShapeFuncStartIndex, dftfe::uInt numDofsPerElement) const =0
 

Private Attributes

std::vector< double > d_lowerLeft
 
std::vector< double > d_upperRight
 

Detailed Description

template<dftfe::uInt dim>
class dftfe::utils::Cell< dim >

This class provides the interface that will be required while interpolating a nodal data to arbitrary set of points.

Author
Vishal Subramanian, Bikash Kanungo

Constructor & Destructor Documentation

◆ Cell() [1/2]

template<dftfe::uInt dim>
dftfe::utils::Cell< dim >::Cell ( )

◆ Cell() [2/2]

template<dftfe::uInt dim>
dftfe::utils::Cell< dim >::Cell ( const std::vector< double > & ll,
const std::vector< double > & ur )

Member Function Documentation

◆ getBoundingBox()

template<dftfe::uInt dim>
virtual std::pair< std::vector< double >, std::vector< double > > dftfe::utils::Cell< dim >::getBoundingBox ( ) const
virtual

Reimplemented in dftfe::utils::FECell< dim >.

◆ getParametricPoint()

template<dftfe::uInt dim>
virtual std::vector< double > dftfe::utils::Cell< dim >::getParametricPoint ( const std::vector< double > & realPoint) const
virtual

Reimplemented in dftfe::utils::FECell< dim >.

◆ getShapeFuncValues()

template<dftfe::uInt dim>
virtual void dftfe::utils::Cell< dim >::getShapeFuncValues ( dftfe::uInt numPointsInCell,
const std::vector< double > & coordinatesOfPointsInCell,
std::vector< dataTypes::number > & shapeFuncValues,
dftfe::uInt cellShapeFuncStartIndex,
dftfe::uInt numDofsPerElement ) const
pure virtual

Implemented in dftfe::utils::FECell< dim >.

◆ getVertex()

template<dftfe::uInt dim>
virtual void dftfe::utils::Cell< dim >::getVertex ( dftfe::uInt i,
std::vector< double > & point ) const
virtual

Reimplemented in dftfe::utils::FECell< dim >.

◆ getVertices()

template<dftfe::uInt dim>
virtual void dftfe::utils::Cell< dim >::getVertices ( std::vector< std::vector< double > > & points) const
virtual

Reimplemented in dftfe::utils::FECell< dim >.

◆ isPointInside()

template<dftfe::uInt dim>
virtual bool dftfe::utils::Cell< dim >::isPointInside ( const std::vector< double > & point,
const double tol ) const
virtual

Reimplemented in dftfe::utils::FECell< dim >.

Member Data Documentation

◆ d_lowerLeft

template<dftfe::uInt dim>
std::vector<double> dftfe::utils::Cell< dim >::d_lowerLeft
private

◆ d_upperRight

template<dftfe::uInt dim>
std::vector<double> dftfe::utils::Cell< dim >::d_upperRight
private

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