![]() |
SCOREC core
Parallel unstructured mesh tools
|
All SPR error estimator functions. More...
Functions | |
| apf::Field * | getGradIPField (apf::Field *f, const char *name, int order) |
| compute the gradient of a vector or scalar field at integration points More... | |
| apf::Field * | recoverField (apf::Field *ip_field) |
| recover a nodal field using patch recovery More... | |
| apf::Field * | getSPRSizeField (apf::Field *f, double adapt_ratio, pcu::PCU *PCUObj) |
| run the SPR ZZ error estimator More... | |
| apf::Field * | getTargetSPRSizeField (apf::Field *f, size_t t, pcu::PCU *PCUObj, double alpha=0.25, double beta=2.0) |
| run the SPR ZZ error estimator with a target # of output elems More... | |
All SPR error estimator functions.
| apf::Field* spr::getGradIPField | ( | apf::Field * | f, |
| const char * | name, | ||
| int | order | ||
| ) |
compute the gradient of a vector or scalar field at integration points
| f | (In) scalar or vector nodal field |
| name | (In) name of integration point field |
| order | (In) integration order of accuracy |
| apf::Field* spr::getSPRSizeField | ( | apf::Field * | f, |
| double | adapt_ratio, | ||
| pcu::PCU * | PCUObj | ||
| ) |
run the SPR ZZ error estimator
| f | the integration-point input field |
| adapt_ratio | the fraction of allowable error, scales the output size field. |
| apf::Field* spr::getTargetSPRSizeField | ( | apf::Field * | f, |
| size_t | t, | ||
| pcu::PCU * | PCUObj, | ||
| double | alpha = 0.25, |
||
| double | beta = 2.0 |
||
| ) |
run the SPR ZZ error estimator with a target # of output elems
| f | the integration-point input field |
| t | the target number of output elements after adaptation |
| alpha | floor on the size field; alpha < h_new/h_old < beta |
| beta | ceiling on the size field; alpha < h_new/h_old < beta |
| apf::Field* spr::recoverField | ( | apf::Field * | ip_field | ) |
recover a nodal field using patch recovery
| ip_field | (In) integration point field |
1.9.1