BELFEM 0.9.0
Berkeley Lab Finite Element Framework
Loading...
Searching...
No Matches
belfem::mesh::Cochain Class Reference

Cochain: a functional on chains (cohomology). More...

#include <cl_Cochain.hpp>

Public Member Functions

 Cochain (const uint aDim, Mesh *aMesh, const bool aIsBound, const bool aIsCobound)
 ~Cochain ()
void operator+ (Cochain *aCochain)
void operator- (Cochain *aCochain)
int operator() (Chain *aChain)
void addSimplexToCochain (const index_t aID, const int aCoeff)
void removeSimplexToCochain (const index_t aID)
void addCochainToCochain (Cochain *aCochain, const int aCoeff)
void removeCochainFromCochain (Cochain *aChain)
OrderedMap< index_t, int > & getSimplicesMap ()
int getCoefficient (const index_t aID)
CochaingetCoboundary ()
CochaingetBoundary ()
void add_simplex_to_coboundary (index_t aID, const int aCoeff)
void add_simplex_to_boundary (index_t aID, const int aCoeff)
int getDim ()
bool isBound ()
bool isCobound ()
void setCoefficient (const index_t aID, const int tCoeff)
void print ()

Detailed Description

Constructor & Destructor Documentation

◆ Cochain()

belfem::mesh::Cochain::Cochain ( const uint aDim,
Mesh * aMesh,
const bool aIsBound,
const bool aIsCobound )

◆ ~Cochain()

belfem::mesh::Cochain::~Cochain ( )

Member Function Documentation

◆ add_simplex_to_boundary()

void belfem::mesh::Cochain::add_simplex_to_boundary ( index_t aID,
const int aCoeff )
inline

◆ add_simplex_to_coboundary()

void belfem::mesh::Cochain::add_simplex_to_coboundary ( index_t aID,
const int aCoeff )
inline

◆ addCochainToCochain()

void belfem::mesh::Cochain::addCochainToCochain ( Cochain * aCochain,
const int aCoeff )
inline

◆ addSimplexToCochain()

void belfem::mesh::Cochain::addSimplexToCochain ( const index_t aID,
const int aCoeff )
inline

◆ getBoundary()

Cochain * belfem::mesh::Cochain::getBoundary ( )
inline

◆ getCoboundary()

Cochain * belfem::mesh::Cochain::getCoboundary ( )
inline

◆ getCoefficient()

int belfem::mesh::Cochain::getCoefficient ( const index_t aID)
inline

◆ getDim()

int belfem::mesh::Cochain::getDim ( )
inline

◆ getSimplicesMap()

OrderedMap< index_t, int > & belfem::mesh::Cochain::getSimplicesMap ( )
inline

◆ isBound()

bool belfem::mesh::Cochain::isBound ( )
inline

◆ isCobound()

bool belfem::mesh::Cochain::isCobound ( )
inline

◆ operator()()

int belfem::mesh::Cochain::operator() ( Chain * aChain)

◆ operator+()

void belfem::mesh::Cochain::operator+ ( Cochain * aCochain)

◆ operator-()

void belfem::mesh::Cochain::operator- ( Cochain * aCochain)

◆ print()

void belfem::mesh::Cochain::print ( )

◆ removeCochainFromCochain()

void belfem::mesh::Cochain::removeCochainFromCochain ( Cochain * aChain)

◆ removeSimplexToCochain()

void belfem::mesh::Cochain::removeSimplexToCochain ( const index_t aID)

◆ setCoefficient()

void belfem::mesh::Cochain::setCoefficient ( const index_t aID,
const int tCoeff )
inline

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