#include <Field.h>
Public Types | |
using | value_type = typename linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace >::value_type |
using | pointer = typename linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace >::pointer |
using | reference = typename linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace >::reference |
using | const_reference = typename linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace >::const_reference |
using | iterator = typename linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace >::iterator |
using | const_iterator = typename linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace >::const_iterator |
Public Member Functions | |
Field (std::shared_ptr< const BasisManager< ValueTypeBasisCoeff, memorySpace > > basisManager, const size_type numVectors, std::shared_ptr< dftefe::linearAlgebra::LinAlgOpContext< memorySpace > > linAlgOpContext) | |
~Field ()=default | |
void | reinit (std::shared_ptr< const BasisManager< ValueTypeBasisCoeff, memorySpace > > basisManager, const size_type numVectors, std::shared_ptr< dftefe::linearAlgebra::LinAlgOpContext< memorySpace > > linAlgOpContext) |
void | applyConstraintsParentToChild () |
void | applyConstraintsChildToParent () |
linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > & | getVector () |
const linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > & | getVector () const |
const BasisManager< ValueTypeBasisCoeff, memorySpace > & | getBasisManager () const |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
void | updateGhostValues (const size_type communicationChannel=0) |
void | accumulateAddLocallyOwned (const size_type communicationChannel=0) |
void | updateGhostValuesBegin (const size_type communicationChannel=0) |
void | updateGhostValuesEnd () |
void | accumulateAddLocallyOwnedBegin (const size_type communicationChannel=0) |
void | accumulateAddLocallyOwnedEnd () |
linearAlgebra::LinAlgOpContext< memorySpace > & | getLinAlgOpContext () const |
Private Attributes | |
std::shared_ptr< dftefe::linearAlgebra::LinAlgOpContext< memorySpace > > | d_linAlgOpContext |
std::shared_ptr< const BasisManager< ValueTypeBasisCoeff, memorySpace > > | d_basisManager |
std::shared_ptr< linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > > | d_vector |
An abstract class to handle a physical field, such as Kohn-Sham orbital, electrostatic potential, etc
using dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::const_iterator = typename linearAlgebra::MultiVector<ValueTypeBasisCoeff, memorySpace>::const_iterator |
using dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::const_reference = typename linearAlgebra::MultiVector<ValueTypeBasisCoeff, memorySpace>::const_reference |
using dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::iterator = typename linearAlgebra::MultiVector<ValueTypeBasisCoeff, memorySpace>::iterator |
using dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::pointer = typename linearAlgebra::MultiVector<ValueTypeBasisCoeff, memorySpace>::pointer |
using dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::reference = typename linearAlgebra::MultiVector<ValueTypeBasisCoeff, memorySpace>::reference |
using dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::value_type = typename linearAlgebra::MultiVector<ValueTypeBasisCoeff, memorySpace>::value_type |
dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::Field | ( | std::shared_ptr< const BasisManager< ValueTypeBasisCoeff, memorySpace > > | basisManager, |
const size_type | numVectors, | ||
std::shared_ptr< dftefe::linearAlgebra::LinAlgOpContext< memorySpace > > | linAlgOpContext | ||
) |
|
default |
void dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::accumulateAddLocallyOwned | ( | const size_type | communicationChannel = 0 | ) |
void dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::accumulateAddLocallyOwnedBegin | ( | const size_type | communicationChannel = 0 | ) |
void dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::accumulateAddLocallyOwnedEnd |
void dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::applyConstraintsChildToParent |
void dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::applyConstraintsParentToChild |
Field< ValueTypeBasisCoeff, memorySpace >::iterator dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::begin |
Field< ValueTypeBasisCoeff, memorySpace >::const_iterator dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::begin |
Field< ValueTypeBasisCoeff, memorySpace >::iterator dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::end |
Field< ValueTypeBasisCoeff, memorySpace >::const_iterator dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::end |
const BasisManager< ValueTypeBasisCoeff, memorySpace > & dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::getBasisManager |
linearAlgebra::LinAlgOpContext< memorySpace > & dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::getLinAlgOpContext |
linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > & dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::getVector |
const linearAlgebra::MultiVector< ValueTypeBasisCoeff, memorySpace > & dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::getVector |
void dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::reinit | ( | std::shared_ptr< const BasisManager< ValueTypeBasisCoeff, memorySpace > > | basisManager, |
const size_type | numVectors, | ||
std::shared_ptr< dftefe::linearAlgebra::LinAlgOpContext< memorySpace > > | linAlgOpContext | ||
) |
void dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::updateGhostValues | ( | const size_type | communicationChannel = 0 | ) |
void dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::updateGhostValuesBegin | ( | const size_type | communicationChannel = 0 | ) |
void dftefe::basis::Field< ValueTypeBasisCoeff, memorySpace >::updateGhostValuesEnd |
|
private |
|
private |
|
private |