/var/www2/hermes2d/hermes2d/src/ref_selectors/optimum_selector.h File Reference

#include <ostream>
#include "../range.h"
#include "order_permutator.h"
#include "selector.h"

Go to the source code of this file.

Classes

class  RefinementSelectors::OptimumSelector
 A selector that chooses an optimal candidates based on a score. More...
struct  RefinementSelectors::OptimumSelector::Cand
 A candidate. More...
struct  RefinementSelectors::OptimumSelector::CandsInfo
 Information about candidates. More...
struct  RefinementSelectors::OptimumSelector::ShapeInx
 A shape index. More...

Namespaces

namespace  RefinementSelectors
 

Namespace which encapsulates all refinement selectors.


Defines

#define H2DRS_ASSUMED_MAX_CANDS   512
 An estimated maximum number of candidates. Used for purpose of reserving space.
#define H2DRS_INTR_GIP_ORDER   20
 An integration order used to integrate while evaluating a candidate.
#define H2DRS_MAX_ORDER_INC   2
 Maximum increase of an order in candidates.
#define H2DRS_SCORE_DIFF_ZERO   1E-13
 A threshold of difference between scores. Anything below this values is considered zero.
#define H2DRS_ORDER_ANY   -1
 Any order. Used as a wildcard to indicate that a given order can by any valid order.

Enumerations

enum  RefinementSelectors::CandList {
  RefinementSelectors::H2D_P_ISO, RefinementSelectors::H2D_P_ANISO, RefinementSelectors::H2D_H_ISO, RefinementSelectors::H2D_H_ANISO,
  RefinementSelectors::H2D_HP_ISO, RefinementSelectors::H2D_HP_ANISO_H, RefinementSelectors::H2D_HP_ANISO_P, RefinementSelectors::H2D_HP_ANISO
}
 

Predefined list of candidates.

More...
enum  RefinementSelectors::SelOption { RefinementSelectors::H2D_PREFER_SYMMETRIC_MESH, RefinementSelectors::H2D_APPLY_CONV_EXP_DOF }
 

Options of the selector.

More...

Functions

H2D_API const char * RefinementSelectors::get_cand_list_str (const CandList cand_list)
 Returns a string representation of a predefined candidate list.
H2D_API bool RefinementSelectors::is_hp (const CandList cand_list)
 Returns true if a predefined candidate list may contain candidates that are HP.
H2D_API bool RefinementSelectors::is_p_aniso (const CandList cand_list)
 Returns true if a predefined candidate list may contain candidates with an anisotropic change of orders.
H2D_API std::ostream & RefinementSelectors::operator<< (std::ostream &stream, const OptimumSelector::Cand &cand)
 Operator. Flushes contents of a candidate to a string stream. Useful for debug messages.
Generated on Sat Jun 5 15:17:43 2010 for Hermes2D Library: Real Version by  doxygen 1.6.3