Vulpes  0.1.0
Versatile and parallel compUtational Library for high-order discontinuous Polytopal Element Simulations
Loading...
Searching...
No Matches
vulpes::assemble::CompressedMonomial Struct Reference

A compressed representation of a standard monomial. More...

#include <integrator_qfree.hpp>

Public Member Functions

bool operator< (const CompressedMonomial &other) const
 Comparison operator to allow sorting and storing in ordered containers.

Public Attributes

double coef
 The coefficient of the monomial.
std::size_t integr_id
 A unique ID representing the monomial's exponents, obtained via linearization (e.g., mapping \((\alpha, \beta)\) to a single integer).

Detailed Description

A compressed representation of a standard monomial.

This is used for volume integrals and face integrals that do not involve neighbor cells.

Member Function Documentation

◆ operator<()

bool vulpes::assemble::CompressedMonomial::operator< ( const CompressedMonomial & other) const
inline

Comparison operator to allow sorting and storing in ordered containers.

Parameters
otherThe other CompressedMonomial to compare against.
Returns
True if this monomial is less than the other.

Member Data Documentation

◆ coef

double vulpes::assemble::CompressedMonomial::coef

The coefficient of the monomial.

◆ integr_id

std::size_t vulpes::assemble::CompressedMonomial::integr_id

A unique ID representing the monomial's exponents, obtained via linearization (e.g., mapping \((\alpha, \beta)\) to a single integer).


The documentation for this struct was generated from the following file: