Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90916857
ntrf_friction.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
Tue, Nov 5, 23:30
Size
3 KB
Mime Type
text/x-c++
Expires
Thu, Nov 7, 23:30 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
22123880
Attached To
rAKA akantu
ntrf_friction.hh
View Options
/**
* @file ntrf_friction.hh
*
* @author David Simon Kammer <david.kammer@epfl.ch>
*
* @date creation: Fri Jun 18 2010
* @date last modification: Tue Sep 29 2020
*
* @brief friction for node to rigid flat interface
*
*
* @section LICENSE
*
* Copyright (©) 2015-2021 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 AST_NTRF_FRICTION_HH_
#define AST_NTRF_FRICTION_HH_
/* -------------------------------------------------------------------------- */
// simtools
#include "ntn_friclaw_coulomb.hh"
namespace
akantu
{
/* -------------------------------------------------------------------------- */
template
<
template
<
class
>
class
FrictionLaw
=
NTNFricLawCoulomb
,
class
Regularisation
=
NTNFricRegNoRegularisation
>
class
NTRFFriction
:
public
FrictionLaw
<
Regularisation
>
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
NTRFFriction
(
NTNBaseContact
&
contact
,
const
ID
&
id
=
"friction"
);
~
NTRFFriction
()
override
=
default
;
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
/// function to print the contain of the class
void
printself
(
std
::
ostream
&
stream
,
int
indent
=
0
)
const
override
;
/* ------------------------------------------------------------------------ */
/* Dumpable */
/* ------------------------------------------------------------------------ */
public
:
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public
:
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
protected
:
};
/* -------------------------------------------------------------------------- */
/* inline functions */
/* -------------------------------------------------------------------------- */
/// standard output stream operato
template
<
template
<
class
>
class
FrictionLaw
,
class
Regularisation
>
inline
std
::
ostream
&
operator
<<
(
std
::
ostream
&
stream
,
const
NTRFFriction
<
FrictionLaw
,
Regularisation
>
&
_this
)
{
_this
.
printself
(
stream
);
return
stream
;
}
}
// namespace akantu
#include "ntrf_friction_tmpl.hh"
#endif
/* AST_NTRF_FRICTION_HH_ */
Event Timeline
Log In to Comment