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 (size_type i, std::vector< double > &point) const
 
virtual std::vector< double > getParametricPoint (const std::vector< double > &realPoint) const
 
virtual void getShapeFuncValues (unsigned int numPointsInCell, const std::vector< double > &coordinatesOfPointsInCell, std::vector< dataTypes::number > &shapeFuncValues, unsigned int cellShapeFuncStartIndex, unsigned int numDofsPerElement) const =0
 

Private Attributes

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

Detailed Description

template<size_type 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<size_type dim>
dftfe::utils::Cell< dim >::Cell ( )

◆ Cell() [2/2]

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

Member Function Documentation

◆ getBoundingBox()

template<size_type 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<size_type 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<size_type dim>
virtual void dftfe::utils::Cell< dim >::getShapeFuncValues ( unsigned int numPointsInCell,
const std::vector< double > & coordinatesOfPointsInCell,
std::vector< dataTypes::number > & shapeFuncValues,
unsigned int cellShapeFuncStartIndex,
unsigned int numDofsPerElement ) const
pure virtual

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

◆ getVertex()

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

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

◆ getVertices()

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

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

◆ isPointInside()

template<size_type 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<size_type dim>
std::vector<double> dftfe::utils::Cell< dim >::d_lowerLeft
private

◆ d_upperRight

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

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