Page MenuHomec4science

contact_resolution.hh
No OneTemporary

File Metadata

Created
Tue, Nov 19, 00:43

contact_resolution.hh

/**
* @file resolution.hh
*
* @author Mohit Pundir <mohit.pundir@epfl.ch>
*
* @date creation: Tue Sep 10 2018
* @date last modification: Mon Sep 10 2018
*
* @brief Mother class for contact resolution
*
* @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 "aka_memory.hh"
/* -------------------------------------------------------------------------- */
#include <set>
/* -------------------------------------------------------------------------- */
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_CONTACT_RESOLUTION_HH__
#define __AKANTU_CONTACT_RESOLUTION_HH__
/* -------------------------------------------------------------------------- */
namespace akantu {
class ContactResolution {
/* ------------------------------------------------------------------------ */
/* Constructor/Destructors */
/* ------------------------------------------------------------------------ */
public:
ContactResolution( const ContactResolutionType & contact_resolution_type,
const ID & id = "contact_resolution");
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public:
///
virtual bool computeTangentAndResidual();
///
virtual void resolutionStep();
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
protected:
/// type of contact resolution
ContactResolutionType contact_resolution_type;
/// list of supported contact resolution solver type
std::set<ContactResolutionType> supported_type;
/* ------------------------------------------------------------------------ */
/* Members */
/* ------------------------------------------------------------------------ */
};
} // akantu
#endif /* __AKANTU_CONTACT_RESOLUTION_HH__ */

Event Timeline