Skip to content

Class TempLat::GWProjector

template <typename R, typename T, typename Model>

ClassList > TempLat > GWProjector

A class which computed the energy of the GWs, using the type 1 (neutral) TT projector. More...

  • #include <gwsprojector.h>

Inherits the following classes: TempLat::BinaryOperator

Inherited by the following classes: TempLat::GWProjectorType1, TempLat::GWProjectorType2, TempLat::GWProjectorType3

Public Types

Type Name
typedef Model::FloatType S

Public Attributes

Type Name
S kIR

Public Functions

Type Name
GWProjector (const R & pR, const T & pT, const Model & model)
virtual std::string operatorString () override const
Override this method in your derived class, to have an easy implementation of your toString method.

Public Functions inherited from TempLat::BinaryOperator

See TempLat::BinaryOperator

Type Name
BinaryOperator (const R & pR, const T & pT)
device::Idx confirmGhostsUpToDate () const
void confirmSpace (const LayoutStruct< NDim > & newLayout, const SpaceStateType & spaceType) const
void doWeNeedGhosts () const
auto getDx () const
auto getKIR () const
auto getToolBox () const
virtual std::string operatorString () const = 0
Override this method in your derived class, to have an easy implementation of your toString method.
void postGet ()
void preGet ()
std::string toString () const
If your descending class implements operatorString() and your operator is of the type "a OP b" (where OP is * or whatever), this toString method does all the work for you.

Public Static Functions

Type Name
consteval size_t getNDim ()

Public Static Functions inherited from TempLat::BinaryOperator

See TempLat::BinaryOperator

Type Name
consteval size_t getNDim ()

Protected Attributes inherited from TempLat::BinaryOperator

See TempLat::BinaryOperator

Type Name
R mR
T mT

Detailed Description

Unit test: ctest -R test-symmetrictracelessfieldmultiply

Public Types Documentation

typedef S

using TempLat::GWProjector< R, T, Model >::S =  Model::FloatType;

Public Attributes Documentation

variable kIR

S TempLat::GWProjector< R, T, Model >::kIR;

Public Functions Documentation

function GWProjector

inline TempLat::GWProjector::GWProjector (
    const R & pR,
    const T & pT,
    const Model & model
) 

function operatorString

Override this method in your derived class, to have an easy implementation of your toString method.

inline virtual std::string TempLat::GWProjector::operatorString () override const

Implements TempLat::BinaryOperator::operatorString


Public Static Functions Documentation

function getNDim

static inline consteval size_t TempLat::GWProjector::getNDim () 


The documentation for this class was generated from the following file cosmolatticeweb/tmp/code_source/cosmolattice/include/CosmoInterface/definitions/gwsprojector.h