31#ifndef ENERGYEVOLUTION_H
32#define ENERGYEVOLUTION_H
40 const unsigned iteration, reactive_ratio;
42 const unsigned incre_level, final_level;
44 const double weight, propagation_weight;
46 const double tolerance;
49 std::vector<unsigned> index;
51 unsigned current_level = incre_level;
55 double total_energy = 0.;
57 unsigned balanced_iteration = 0;
75 int initialize(
const shared_ptr<DomainBase>&)
override;
77 int process(
const shared_ptr<DomainBase>&)
override;
A Criterion class.
Definition: Criterion.h:38
A Element class.
Definition: Element.h:117
A EnergyEvolution class.
Definition: EnergyEvolution.h:39
int initialize(const shared_ptr< DomainBase > &) override
Definition: EnergyEvolution.cpp:34
int process(const shared_ptr< DomainBase > &) override
Definition: EnergyEvolution.cpp:42
EnergyEvolution(unsigned, unsigned, unsigned, unsigned, double=1., unsigned=2, unsigned=10, double=.5, double=1E-5)
Definition: EnergyEvolution.cpp:23
std::function< double(const Element *)> get_energy
Definition: EnergyEvolution.h:60
vector< set< T > > graph
Definition: container.h:59