|  | 
|  | Newton3ppC (ApplicationBase &app) | 
|  | 
| virtual void | solve (AppFrame::FEVector &u, const AppFrame::FEVectors &in_vectors) | 
|  | The actual Newton solver. 
 | 
|  | 
|  | newtonBase (ApplicationBase &app) | 
|  | Constructor, receiving the application computing the residual and solving the linear problem. 
 | 
|  | 
| virtual void | assemble () | 
|  | Instead of assembling, this function only sets a flag, such that the inner application will be required to assemble a new derivative matrix next time solve() is called. 
 | 
|  | 
| virtual double | residual (AppFrame::FEVector &dst, const AppFrame::FEVectors &rhs) | 
|  | 
| virtual void | declare_parameters (ParameterHandler ¶m) | 
|  | Declare the input parameters. 
 | 
|  | 
| void | _initialize (ParameterHandler ¶m) | 
|  | Read the parameters local to newtonBase. 
 | 
|  | 
| virtual void | initialize (ParameterHandler ¶m) | 
|  | Read the parameters. 
 | 
|  | 
| double | threshold (double new_value) | 
|  | Set the maximal residual reduction allowed without triggering assembling in the next step. 
 | 
|  | 
| void | initialize_initial_guess (BlockVector< double > &dst) | 
|  | Control object for the Newton iteration. 
 | 
|  | 
|  | ApplicationCopy (ApplicationBase &ex_app) | 
|  | Constructor for a derived application. 
 | 
|  | 
|  | ~ApplicationCopy () | 
|  | 
| virtual void | remesh () | 
|  | Generates the next mesh depending on the mesh generation parameters. 
 | 
|  | 
| virtual void | init_vector (FEVector &dst) const | 
|  | Initialize vector to problem size. 
 | 
|  | 
| virtual void | start_vector (FEVector &dst, std::string caller) const | 
|  | Initialize vector to problem size. 
 | 
|  | 
| virtual void | Tsolve (FEVector &start, const FEVectors &rhs) | 
|  | Solve the dual system assembled with right hand side rhsand return the result instart.
 | 
|  | 
| virtual double | estimate (const FEVectors &src) | 
|  | Error estimation. 
 | 
|  | 
| virtual double | evaluate (const FEVectors &src) | 
|  | Evaluate whatever the simulation was made for. 
 | 
|  | 
| virtual void | grid_out (const std::string &filename) const | 
|  | Write the mesh in the format specified by the ParameterHandler. 
 | 
|  | 
| virtual void | data_out (const std::string &filename, const FEVectors &src) | 
|  | Write data in the format specified by the ParameterHandler. 
 | 
|  | 
| virtual std::string | id () const | 
|  | Return a unique identification string for this application. 
 | 
|  | 
| virtual void | notify (const Event &reason) | 
|  | Add a reason for assembling. 
 | 
|  | 
|  | ApplicationBase (boost::shared_ptr< ApplicationData > ex_data=boost::shared_ptr< ApplicationData >()) | 
|  | Constructor for an application. 
 | 
|  | 
|  | ApplicationBase (const ApplicationBase &other) | 
|  | Copy constructor. 
 | 
|  | 
| virtual | ~ApplicationBase () | 
|  | Virtual destructor. 
 | 
|  | 
| void | print_parameters_to_file (ParameterHandler ¶m, const std::string &file_name, const ParameterHandler::OutputStyle &style) | 
|  | Print default parameters for the application to a file. 
 | 
|  | 
| virtual double | residual (FEVector &dst, const FEVectors &src, bool apply_boundaries=true) | 
|  | Compute residual of srcand store it intodst.
 | 
|  | 
| virtual void | data_out (const std::string &filename, const FEVectors &src, const std::vector< std::string >) | 
|  | 
| boost::shared_ptr < ApplicationData >
 | get_data () | 
|  | Get access to the protected variable data. 
 | 
|  | 
| const boost::shared_ptr < ApplicationData >
 | get_data () const | 
|  | Get read-only access to the protected variable data. 
 | 
|  | 
| virtual void | clear () | 
|  | Reset the application class such that a call to initialize() is possible again and will produce the same result as if the object was fresh. 
 | 
|  | 
| void | clear_events () | 
|  | Clear all notifications. 
 | 
|  | 
Application class performing Newton's iteration. 
At each iteration a line search is performed using XX algorithm to enhance robustness of the algorithm and to improve convergence to a global solution. This class is based on the class Newton on AppFrame developed by Guido Kanschat
- Author
- Jason Boisvert, 2009