FreePOOMA
2.4.1
|
External functions that can be applied to any engine or container to answer questions about compression and to force compression or uncompression. More...
Functions | |
template<class Expr > | |
bool | compressed (const Expr &expr) |
Return whether or not something is currently compressed. | |
template<class Expr > | |
double | compressedFraction (const Expr &expr) |
Compute the fraction of the total domain that is currently compressed. | |
template<class Expr > | |
long | elementsCompressed (const Expr &expr) |
Compute the number of the elements that are currently compressed. | |
template<class Expr > | |
void | compress (Expr &) |
(Try to) compress an engine or container. | |
template<class Expr > | |
void | uncompress (Expr &) |
Manually uncompress an engine or container. |
External functions that can be applied to any engine or container to answer questions about compression and to force compression or uncompression.
bool compressed | ( | const Expr & | expr | ) | [inline] |
Return whether or not something is currently compressed.
double compressedFraction | ( | const Expr & | expr | ) |
Compute the fraction of the total domain that is currently compressed.
References elementsCompressed().
long elementsCompressed | ( | const Expr & | expr | ) | [inline] |
Compute the number of the elements that are currently compressed.
void compress | ( | Expr & | ) | [inline] |
(Try to) compress an engine or container.
void uncompress | ( | Expr & | ) | [inline] |
Manually uncompress an engine or container.