Mechanics of Defect Evolution Library
Loading...
Searching...
No Matches
DislocationGlideSolverFactory.h
Go to the documentation of this file.
1/* This file is part of MoDELib, the Mechanics Of Defects Evolution Library.
2 *
3 *
4 * MoDELib is distributed without any warranty under the
5 * GNU General Public License (GPL) v2 <http://www.gnu.org/licenses/>.
6 */
7
8#ifndef model_DislocationGlideSolverFactory_h_
9#define model_DislocationGlideSolverFactory_h_
10
12#include <memory>
13#include <Eigen/Dense>
14
15namespace model
16{
17 template<int dim> class DislocationNetwork;
18
19 template <int dim>
21 {
22// const DislocationNetwork<dim>& DN;
24// virtual Eigen::VectorXd getNodeVelocities() const = 0;
25 };
26
27 template <int dim>
29 {
30 static std::shared_ptr<DislocationGlideSolverBase<dim>> getGlideSolver(const DislocationNetwork<dim>& DN, const std::string& solverType);
31 };
32
33}
34#endif
DislocationGlideSolverBase(const DislocationNetwork< dim > &)
static std::shared_ptr< DislocationGlideSolverBase< dim > > getGlideSolver(const DislocationNetwork< dim > &DN, const std::string &solverType)
DislocationVelocitySolverBase(const DislocationNetwork< dim > &)