Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F70945893
model_solver.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
Mon, Jul 8, 10:12
Size
2 KB
Mime Type
text/x-c++
Expires
Wed, Jul 10, 10:12 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
18867421
Attached To
rAKA akantu
model_solver.hh
View Options
/**
* @file model_solver.hh
*
* @author Nicolas Richart <nicolas.richart@epfl.ch>
*
* @date Wed Jul 22 10:53:10 2015
*
* @brief Class regrouping the common solve interface to the different models
*
* @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/>.
*
*/
/* -------------------------------------------------------------------------- */
#include "aka_common.hh"
#include "parsable.hh"
#include "dof_manager.hh"
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_MODEL_SOLVER_HH__
#define __AKANTU_MODEL_SOLVER_HH__
__BEGIN_AKANTU__
class ModelSolver : public Parsable {
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public:
ModelSolver(const Mesh & mesh, const ID & id);
virtual ~ModelSolver();
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
/// Solve a step, implicit, explicit, static, ... any things based on the
/// current configuration
void solveStep();
protected:
/// assemble the residual
void assembleResidual() { AKANTU_DEBUG_TO_IMPLEMENT(); }
/// assemble the Jacobian matrix
void assembleJacobian() { AKANTU_DEBUG_TO_IMPLEMENT(); }
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
protected:
DOFManager & getDOFManager() { return *this->dof_manager; }
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
protected:
DOFManager * dof_manager;
// TimeStepSolver * time_step_solver;
};
__END_AKANTU__
#endif /* __AKANTU_MODEL_SOLVER_HH__ */
Event Timeline
Log In to Comment