|
Cardinal
|
#include <ValueFractionHeuristicUserObject.h>
Public Member Functions | |
| ValueFractionHeuristicUserObject (const InputParameters ¶ms) | |
| virtual bool | evaluate (libMesh::Elem *base_element, libMesh::Elem *neighbor_elem) const override |
| virtual void | execute () override |
| virtual void | initialize () override |
| virtual void | finalize () override |
Static Public Member Functions | |
| static InputParameters | validParams () |
Protected Member Functions | |
| void | extremesFinder () |
| maximum and minimum value finder More... | |
| Real | getMetricData (const libMesh::Elem *elem) const |
Protected Attributes | |
| Real | _upper_fraction |
| upper fraction of the metric value More... | |
| Real | _lower_fraction |
| lower fraction of the metric value More... | |
| Real | _max |
| maximum value of the metric More... | |
| Real | _min |
| minimum value of the metric More... | |
| Real | _upper_cut_off |
| upper cut off of the metric value More... | |
| Real | _lower_cut_off |
| upper cut off of the metric value More... | |
| libMesh::MeshBase & | _mesh |
| Mesh reference. More... | |
| const AuxVariableName | _metric_variable_name |
| Name of the metric variable based on which clustering is done. More... | |
| const MooseVariableBase & | _metric_variable |
| Metric variable. More... | |
| AuxiliarySystem & | _auxiliary_system |
| AuxiliarySystem reference. More... | |
| const libMesh::DofMap & | _dof_map |
| DOF map. More... | |
| const unsigned int | _metric_variable_index |
| Metric variable index. More... | |
| NumericVector< Real > & | _serialized_metric_solution |
| libmesh numeric vector with serialized solutions More... | |
A clustering heuristic user object which clusters two neighboring elements whose metric variable values are either more/less than a percentage of extremes.
| ValueFractionHeuristicUserObject::ValueFractionHeuristicUserObject | ( | const InputParameters & | params | ) |
|
overridevirtual |
A purely virtual function which must be overridden in derived classes. It applies the clustering logic for two elements in the derived class
| [in] | base_element | the current element |
| [in] | neighbor_elem | the current neighbour of base_element |
Implements ClusteringUserObjectBase.
|
inlineoverridevirtual |
Reimplemented from ClusteringUserObjectBase.
|
protected |
maximum and minimum value finder
|
inlineoverridevirtualinherited |
|
protectedinherited |
Get the metric data from the auxiliary system for an element.
| [in] | elem |
|
overridevirtualinherited |
|
static |
|
protectedinherited |
AuxiliarySystem reference.
|
protectedinherited |
DOF map.
|
protected |
upper cut off of the metric value
|
protected |
lower fraction of the metric value
|
protected |
maximum value of the metric
|
protectedinherited |
Mesh reference.
|
protectedinherited |
Metric variable.
|
protectedinherited |
Metric variable index.
|
protectedinherited |
Name of the metric variable based on which clustering is done.
|
protected |
minimum value of the metric
|
protectedinherited |
libmesh numeric vector with serialized solutions
|
protected |
upper cut off of the metric value
|
protected |
upper fraction of the metric value
1.8.16