suanPan
EnergyEvolution Class Reference

A EnergyEvolution class. More...

#include <EnergyEvolution.h>

Inheritance diagram for EnergyEvolution:
Collaboration diagram for EnergyEvolution:

Public Member Functions

 EnergyEvolution (unsigned, unsigned, unsigned, unsigned, double=1., unsigned=2, unsigned=10, double=.5, double=1E-5)
 
int initialize (const shared_ptr< DomainBase > &) override
 
int process (const shared_ptr< DomainBase > &) override
 
- Public Member Functions inherited from Criterion
 Criterion (unsigned=0, unsigned=0)
 
 ~Criterion () override=default
 
void set_step_tag (unsigned)
 
unsigned get_step_tag () const
 
virtual unique_ptr< Criterionget_copy ()=0
 
virtual int initialize (const shared_ptr< DomainBase > &)
 
virtual int process (const shared_ptr< DomainBase > &)=0
 
- Public Member Functions inherited from Tag
 Tag (unsigned=0)
 
 Tag (const Tag &)=default
 
 Tag (Tag &&)=default
 
Tagoperator= (const Tag &)=delete
 
Tagoperator= (Tag &&)=delete
 
virtual ~Tag ()=default
 
void set_tag (unsigned) const
 
unsigned get_tag () const
 
void enable ()
 
void disable ()
 
void guard ()
 
void unguard ()
 
bool is_active () const
 
bool is_guarded () const
 
virtual void print ()
 

Protected Attributes

std::function< double(const Element *)> get_energy
 

Detailed Description

A EnergyEvolution class.

The EnergyEvolution class.

Author
tlc
Date
13/09/2020
Version
0.1.0

Constructor & Destructor Documentation

◆ EnergyEvolution()

EnergyEvolution::EnergyEvolution ( unsigned  T,
unsigned  ST,
unsigned  IL,
unsigned  FL,
double  WT = 1.,
unsigned  IT = 2,
unsigned  RR = 10,
double  PW = .5,
double  TL = 1E-5 
)

Member Function Documentation

◆ initialize()

int EnergyEvolution::initialize ( const shared_ptr< DomainBase > &  D)
overridevirtual

Reimplemented from Criterion.

◆ process()

int EnergyEvolution::process ( const shared_ptr< DomainBase > &  D)
overridevirtual

Implements Criterion.

Here is the call graph for this function:

Member Data Documentation

◆ get_energy

std::function<double(const Element*)> EnergyEvolution::get_energy
protected

The documentation for this class was generated from the following files: