DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::atoms::AtomSevereFunction< memorySpace > Class Template Reference

#include <AtomSevereFunction.h>

Inheritance diagram for dftefe::atoms::AtomSevereFunction< memorySpace >:
Collaboration diagram for dftefe::atoms::AtomSevereFunction< memorySpace >:

Public Member Functions

 AtomSevereFunction (std::shared_ptr< const AtomSphericalDataContainer > atomSphericalDataContainer, const std::vector< std::string > &atomSymbol, const std::vector< utils::Point > &atomCoordinates, const std::string fieldName, const size_type derivativeType, const size_type sphericalValPower=2, const double constant=1.0, linearAlgebra::LinAlgOpContext< memorySpace > *linAlgOpContext=nullptr)
 
double operator() (const utils::Point &point) const override
 
std::vector< double > operator() (const std::vector< utils::Point > &points) const override
 
- Public Member Functions inherited from dftefe::atoms::AtomSuperpositionFunction< memorySpace >
 AtomSuperpositionFunction (std::shared_ptr< const AtomSphericalDataContainer > atomSphericalDataContainer, const std::vector< std::string > &atomSymbol, const std::vector< utils::Point > &atomCoordinates, const std::string fieldName, linearAlgebra::LinAlgOpContext< memorySpace > *linAlgOpContext=nullptr)
 
void evaluate (const size_type numPoints, const AtomSuperpositionFuncType atomSupType, const double *t, double *q, const double constant=1.0) const
 
- Public Member Functions inherited from dftefe::utils::ScalarSpatialFunction< Q >
virtual ~ScalarSpatialFunction ()=default
 
virtual Q operator() (const utils::Point &point) const =0
 
virtual std::vector< Q > operator() (const std::vector< utils::Point > &points) const =0
 
template<MemorySpace memorySpace>
void eval (const size_type numPoints, const double *t, Q *q) const
 

Protected Member Functions

void evalHost (size_type numPoints, const double *t, double *q) const override
 
- Protected Member Functions inherited from dftefe::atoms::AtomSuperpositionFunction< memorySpace >
void evalHost (size_type numPoints, const AtomSuperpositionFuncType atomSupType, const double constant, const double *t, double *q) const
 
- Protected Member Functions inherited from dftefe::utils::ScalarSpatialFunction< Q >
virtual void evalHost (size_type numPoints, const double *t, Q *q) const
 

Private Attributes

AtomSuperpositionFuncType d_atomSupType
 
size_type d_dim
 
double d_constant
 

Constructor & Destructor Documentation

◆ AtomSevereFunction()

template<utils::MemorySpace memorySpace>
dftefe::atoms::AtomSevereFunction< memorySpace >::AtomSevereFunction ( std::shared_ptr< const AtomSphericalDataContainer >  atomSphericalDataContainer,
const std::vector< std::string > &  atomSymbol,
const std::vector< utils::Point > &  atomCoordinates,
const std::string  fieldName,
const size_type  derivativeType,
const size_type  sphericalValPower = 2,
const double  constant = 1.0,
linearAlgebra::LinAlgOpContext< memorySpace > *  linAlgOpContext = nullptr 
)
Here is the call graph for this function:

Member Function Documentation

◆ evalHost()

template<utils::MemorySpace memorySpace>
void dftefe::atoms::AtomSevereFunction< memorySpace >::evalHost ( size_type  numPoints,
const double *  t,
double *  q 
) const
overrideprotected
Here is the call graph for this function:

◆ operator()() [1/2]

template<utils::MemorySpace memorySpace>
std::vector< double > dftefe::atoms::AtomSevereFunction< memorySpace >::operator() ( const std::vector< utils::Point > &  points) const
override
Here is the call graph for this function:

◆ operator()() [2/2]

template<utils::MemorySpace memorySpace>
double dftefe::atoms::AtomSevereFunction< memorySpace >::operator() ( const utils::Point point) const
overridevirtual

Implements dftefe::utils::ScalarSpatialFunction< Q >.

Here is the call graph for this function:

Member Data Documentation

◆ d_atomSupType

template<utils::MemorySpace memorySpace>
AtomSuperpositionFuncType dftefe::atoms::AtomSevereFunction< memorySpace >::d_atomSupType
private

◆ d_constant

template<utils::MemorySpace memorySpace>
double dftefe::atoms::AtomSevereFunction< memorySpace >::d_constant
private

◆ d_dim

template<utils::MemorySpace memorySpace>
size_type dftefe::atoms::AtomSevereFunction< memorySpace >::d_dim
private

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