BELFEM 0.9.3
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 add_simplex_to_cochain (const index_t aID, const int aCoeff)
void remove_simplex_from_cochain (const index_t aID)
void add_cochain_to_cochain (Cochain *aCochain, const int aCoeff)
void remove_cochain_from_cochain (Cochain *aChain)
OrderedMap< index_t, int > & get_simplices_map ()
int get_coefficient (const index_t aID)
Cochain * get_coboundary ()
Cochain * get_boundary ()
void add_simplex_to_coboundary (index_t aID, const int aCoeff)
void add_simplex_to_boundary (index_t aID, const int aCoeff)
int get_dim ()
bool isBound ()
bool isCobound ()
void set_coefficient (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_cochain_to_cochain()

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

◆ 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

◆ add_simplex_to_cochain()

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

◆ get_boundary()

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

◆ get_coboundary()

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

◆ get_coefficient()

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

◆ get_dim()

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

◆ get_simplices_map()

OrderedMap< index_t, int > & belfem::mesh::Cochain::get_simplices_map ( )
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 ( )

◆ remove_cochain_from_cochain()

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

◆ remove_simplex_from_cochain()

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

◆ set_coefficient()

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

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