Documentation of MARTY
A Modern ARtificial Theoretical phYsicist
Public Member Functions | Protected Attributes
mty::AbstractGroup Class Referenceabstract

Abstract base class for groups. More...

#include <group.h>

Inheritance diagram for mty::AbstractGroup:
[legend]

Public Member Functions

 AbstractGroup (const std::string &t_name="")
 Constructor with one optional parameter. More...
 
 AbstractGroup (int t_dim, const std::string &t_name="")
 Constructor with two parameters. More...
 
virtual ~AbstractGroup ()
 Destructor.
 
virtual SemiSimpleAlgebragetAlgebra () const
 Virtual function. Raises an error if called. See reimplementations.
 
virtual Irrep highestWeightRep (const std::vector< int > &highestWeight) const
 Virtual function. Raises an error if called. See reimplementations.
 
virtual Irrep getTrivialRep () const =0
 Pure Virtual function. See reimplementations.
 
virtual Irrep getAdjointRep () const
 Virtual function. Raises an error if called. See reimplementations.
 
virtual group::Type getType () const =0
 Returns the type of the group. See mty::group::Type. More...
 
mty::GaugedGroupgetGaugedGroup () const
 
void setGaugedGroup (mty::GaugedGroup *t_gauged)
 
std::string getName () const
 Returns the name of the group. More...
 
int getDim () const
 Returns the dimension (integer) of the group. More...
 
virtual const csl::SpacegetVectorSpace (const Irrep &irrep) const =0
 Pure Virtual function. See reimplementations.
 
virtual AlgebraState getHighestWeight (const csl::Space *t_space) const
 Virtual function. Raises an error if called. See reimplementations.
 
virtual std::vector< const csl::Space * > getAllVectorSpace () const =0
 Pure Virtual function. See reimplementations.
 
virtual csl::Index getCorrespondingIndex (const std::string &index_name, const QuantumFieldParent &parent)=0
 Pure Virtual function. See reimplementations.
 

Protected Attributes

int dim
 Dimension of the group.
 
std::string name
 Name of the group.
 
mty::GaugedGroupgauged
 

Detailed Description

Abstract base class for groups.

This class is mostly composed of empty virtual functions. It only handles a std::string for the name, and an integer for the dimension of the group. See SemiSimpleGroup to get to group features.

Constructor & Destructor Documentation

◆ AbstractGroup() [1/2]

mty::AbstractGroup::AbstractGroup ( const std::string &  t_name = "")
explicit

Constructor with one optional parameter.

Parameters
t_nameName of the group.

◆ AbstractGroup() [2/2]

mty::AbstractGroup::AbstractGroup ( int  t_dim,
const std::string &  t_name = "" 
)
explicit

Constructor with two parameters.

Parameters
t_dimDimension of the group.
t_nameName (optional) of the group.

Member Function Documentation

◆ getDim()

int mty::AbstractGroup::getDim ( ) const

Returns the dimension (integer) of the group.

Returns
The dimension of the group.

◆ getName()

string mty::AbstractGroup::getName ( ) const

Returns the name of the group.

Returns
The name of the group.

◆ getType()

virtual group::Type mty::AbstractGroup::getType ( ) const
pure virtual

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