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

Formal sum of k-simplices (homology). More...

#include <cl_Chain.hpp>

Public Member Functions

 Chain (const uint aDim, Mesh *aMesh, const bool aIsBound, const bool aIsCobound)
 ~Chain ()
void operator+ (Chain *aChain)
void operator- (Chain *aChain)
void operator* (const int aMult)
int operator() (Chain *aChain)
void add_simplex_to_chain (const index_t aIndex, const int aCoeff)
void remove_simplex_from_chain (const index_t aIndex)
void add_chain_to_chain (Chain *aChain, int aCoeff)
void remove_chain_from_chain (Chain *aChain)
OrderedMap< index_t, int > & get_simplices_map ()
int get_coefficient (const index_t aIndex)
Chain * get_boundary ()
Chain * get_coboundary ()
void add_simplex_to_boundary (index_t aIndex, const int aCoeff)
void add_simplex_to_coboundary (index_t aIndex, const int aCoeff)
int get_dim ()
void set_coefficient (const index_t aIndex, const int aCoeff)
void print ()

Detailed Description

Constructor & Destructor Documentation

◆ Chain()

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

◆ ~Chain()

belfem::mesh::Chain::~Chain ( )

Member Function Documentation

◆ add_chain_to_chain()

void belfem::mesh::Chain::add_chain_to_chain ( Chain * aChain,
int aCoeff )

◆ add_simplex_to_boundary()

void belfem::mesh::Chain::add_simplex_to_boundary ( index_t aIndex,
const int aCoeff )
inline

◆ add_simplex_to_chain()

void belfem::mesh::Chain::add_simplex_to_chain ( const index_t aIndex,
const int aCoeff )

◆ add_simplex_to_coboundary()

void belfem::mesh::Chain::add_simplex_to_coboundary ( index_t aIndex,
const int aCoeff )
inline

◆ get_boundary()

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

◆ get_coboundary()

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

◆ get_coefficient()

int belfem::mesh::Chain::get_coefficient ( const index_t aIndex)
inline

◆ get_dim()

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

◆ get_simplices_map()

OrderedMap< index_t, int > & belfem::mesh::Chain::get_simplices_map ( )
inline

◆ operator()()

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

◆ operator*()

void belfem::mesh::Chain::operator* ( const int aMult)

◆ operator+()

void belfem::mesh::Chain::operator+ ( Chain * aChain)

◆ operator-()

void belfem::mesh::Chain::operator- ( Chain * aChain)

◆ print()

void belfem::mesh::Chain::print ( )

◆ remove_chain_from_chain()

void belfem::mesh::Chain::remove_chain_from_chain ( Chain * aChain)

◆ remove_simplex_from_chain()

void belfem::mesh::Chain::remove_simplex_from_chain ( const index_t aIndex)

◆ set_coefficient()

void belfem::mesh::Chain::set_coefficient ( const index_t aIndex,
const int aCoeff )

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