Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91932003
model_coupler.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
Fri, Nov 15, 20:52
Size
2 KB
Mime Type
text/x-c++
Expires
Sun, Nov 17, 20:52 (2 d)
Engine
blob
Format
Raw Data
Handle
22313356
Attached To
rAKA akantu
model_coupler.hh
View Options
/**
* @file model_coupler.hh
*
* @author Mohit Pundir <mohit.pundir@epfl.ch>
*
* @date creation: Fri Sep 28 2018
* @date last modification: Fri Sep 28 2018
*
* @brief Mother class for all model couplers
*
* @section LICENSE
*
* Copyright (©) 2010-2018 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 "model.hh"
/* -------------------------------------------------------------------------- */
#include <tuple>
#ifndef __AKANTU_MODEL_COUPLER_HH__
#define __AKANTU_MODEL_COUPLER_HH__
namespace akantu {
template <typename... Models>
class ModelCoupler :
public Model {
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public:
ModelCoupler();
virtual ~ModelCoupler();
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
virtual void solve();
/* ------------------------------------------------------------------------ */
/* Members */
/* ------------------------------------------------------------------------ */
public:
std::tuple<Models...> models;
};
} // akantu
#endif /* __AKANTU_MODEL_COUPLER_HH__ */
Event Timeline
Log In to Comment