suanPan
Optimization Class Referencefinal

A Optimization class. More...

#include <Optimization.h>

Inheritance diagram for Optimization:
Collaboration diagram for Optimization:

Public Member Functions

int initialize () override
 
int analyze () override
 
 Static (unsigned=0, double=1.)
 
- Public Member Functions inherited from Static
 Static (unsigned=0, double=1.)
 
int initialize () override
 
int analyze () override
 
- Public Member Functions inherited from Step
 Step (unsigned=0, double=1.)
 
 Step (const Step &)=delete
 
 Step (Step &&) noexcept=delete
 
Stepoperator= (const Step &)=delete
 
Stepoperator= (Step &&) noexcept=delete
 
 ~Step () override=default
 
virtual int initialize ()
 
virtual int analyze ()=0
 
void set_domain (const weak_ptr< DomainBase > &)
 
const weak_ptr< DomainBase > & get_domain () const
 
void set_factory (const shared_ptr< Factory< double > > &)
 
const shared_ptr< Factory< double > > & get_factory () const
 
void set_solver_tag (unsigned)
 
void set_solver (const shared_ptr< Solver > &)
 
const shared_ptr< Solver > & get_solver () const
 
void set_converger_tag (unsigned)
 
void set_converger (const shared_ptr< Converger > &)
 
const shared_ptr< Converger > & get_converger () const
 
void set_integrator_tag (unsigned)
 
void set_integrator (const shared_ptr< Integrator > &)
 
const shared_ptr< Integrator > & get_integrator () const
 
void set_time_period (double)
 
void set_time_left (double)
 
double get_time_period () const
 
double get_time_left () const
 
void set_ini_step_size (double)
 
void set_min_step_size (double)
 
void set_max_step_size (double)
 
void set_max_substep (unsigned)
 
void set_system_solver (SolverType)
 
void set_system_solver (IterativeSolver)
 
void set_sub_system_solver (SolverType)
 
void set_preconditioner (PreconditionerType)
 
void set_precision (Precision)
 
void set_tolerance (double)
 
void set_refinement (unsigned)
 
void set_lis_option (std::string_view)
 
double get_ini_step_size () const
 
double get_min_step_size () const
 
double get_max_step_size () const
 
unsigned get_max_substep () const
 
bool is_fixed_step_size () const
 
void set_fixed_step_size (bool)
 
bool is_symm () const
 
bool is_band () const
 
bool is_sparse () const
 
void set_symm (bool) const
 
void set_band (bool) const
 
void set_sparse (bool) const
 
- 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 ()
 

Additional Inherited Members

- Protected Member Functions inherited from Step
void configure_storage_scheme () const
 
- Protected Attributes inherited from Step
const bool symm_mat = false
 
const bool band_mat = true
 
const bool sparse_mat = false
 
SolverType system_solver = SolverType::LAPACK
 
SolverSetting< double > system_setting {}
 
SolverType sub_system_solver = SolverType::LAPACK
 
weak_ptr< DomainBasedatabase
 
shared_ptr< Factory< double > > factory
 
shared_ptr< Solversolver
 
shared_ptr< Convergertester
 
shared_ptr< Integratormodifier
 

Detailed Description

A Optimization class.

Author
tlc
Date
12/09/2020
Version
0.1.0

Member Function Documentation

◆ analyze()

int Optimization::analyze ( )
overridevirtual

Implements Step.

Here is the call graph for this function:

◆ initialize()

int Optimization::initialize ( )
overridevirtual

Reimplemented from Step.

Here is the call graph for this function:

◆ Static()

Static::Static ( unsigned  T = 0,
double  P = 1. 
)
explicit

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