Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78076676
non_linear_solver_default.hh
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Subscribers
None
File Metadata
Details
File Info
Storage
Attached
Created
Sun, Aug 18, 07:03
Size
2 KB
Mime Type
text/x-c++
Expires
Tue, Aug 20, 07:03 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
19981618
Attached To
rAKA akantu
non_linear_solver_default.hh
View Options
/**
* @file non_linear_solver_default.hh
*
* @author Nicolas Richart <nicolas.richart@epfl.ch>
*
* @date Tue Aug 25 00:48:07 2015
*
* @brief Default implementation of NonLinearSolver, in case no external library
* is there to do the job
*
* @section LICENSE
*
* Copyright (©) 2010-2011 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* Akantu is free software: you can redistribute it and/or modify it under the
* terms of the GNU Lesser General Public License as published by the Free
* Software Foundation, either version 3 of the License, or (at your option) any
* later version.
*
* Akantu is distributed in the hope that it will be useful, but WITHOUT ANY
* WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR
* A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
* details.
*
* You should have received a copy of the GNU Lesser General Public License
* along with Akantu. If not, see <http://www.gnu.org/licenses/>.
*
*/
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_NON_LINEAR_SOLVER_DEFAULT_HH__
#define __AKANTU_NON_LINEAR_SOLVER_DEFAULT_HH__
__BEGIN_AKANTU__
class NonLinearSolverDefault : public NonLinearSolver {
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public:
NonLinearSolverDefault(DOFManagerDefault & dof_manager,
const NonLinearSolverType & non_linear_solver_type,
const ID & id = "non_linear_solver_default",
UInt memory_id = 0);
virtual ~NonLinearSolverDefault();
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
void solve();
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public:
virtual void setParameters(const ParserSection & parameters_section);
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
private:
DOFManagerDefault & dof_manager;
/// convergence threshold
Real convergence_criteria;
/// Max number of iterations
UInt max_iterations;
};
__END_AKANTU__
#endif /* __AKANTU_NON_LINEAR_SOLVER_DEFAULT_HH__ */
Event Timeline
Log In to Comment