Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F88688997
ntn_fricreg_rubin_ampuero.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
Sun, Oct 20, 04:36
Size
4 KB
Mime Type
text/x-c++
Expires
Tue, Oct 22, 04:36 (2 d)
Engine
blob
Format
Raw Data
Handle
21763444
Attached To
rAKA akantu
ntn_fricreg_rubin_ampuero.hh
View Options
/**
* @file ntn_fricreg_rubin_ampuero.hh
*
* @author David Simon Kammer <david.kammer@epfl.ch>
*
* @date creation: Fri Jun 18 2010
* @date last modification: Fri Feb 23 2018
*
* @brief regularisation that regularizes the contact pressure
*
*
* Copyright (©) 2015-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/>.
*
*/
/* -------------------------------------------------------------------------- */
#ifndef AST_NTN_FRICREG_RUBIN_AMPUERO_HH_
#define AST_NTN_FRICREG_RUBIN_AMPUERO_HH_
/* -------------------------------------------------------------------------- */
// simtools
#include "ntn_fricreg_no_regularisation.hh"
namespace
akantu
{
/* -------------------------------------------------------------------------- */
class
NTNFricRegRubinAmpuero
:
public
NTNFricRegNoRegularisation
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
NTNFricRegRubinAmpuero
(
NTNBaseContact
&
contact
,
const
ID
&
id
=
"rubin_ampuero"
,
const
MemoryID
&
memory_id
=
0
);
virtual
~
NTNFricRegRubinAmpuero
(){};
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
virtual
void
registerSynchronizedArray
(
SynchronizedArrayBase
&
array
);
virtual
void
dumpRestart
(
const
std
::
string
&
file_name
)
const
;
virtual
void
readRestart
(
const
std
::
string
&
file_name
);
virtual
void
setToSteadyState
();
/// function to print the contain of the class
virtual
void
printself
(
std
::
ostream
&
stream
,
int
indent
=
0
)
const
;
/* ------------------------------------------------------------------------ */
/* Dumpable */
/* ------------------------------------------------------------------------ */
public
:
virtual
void
addDumpFieldToDumper
(
const
std
::
string
&
dumper_name
,
const
std
::
string
&
field_id
);
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public
:
protected
:
/// get the contact pressure (the norm: scalar value)
virtual
const
SynchronizedArray
<
Real
>
&
internalGetContactPressure
();
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
private
:
SynchronizedArray
<
Real
>
t_star
;
};
/* -------------------------------------------------------------------------- */
/* inline functions */
/* -------------------------------------------------------------------------- */
//#include "ntn_fricreg_rubin_ampuero_inline_impl.hh"
/// standard output stream operator
inline
std
::
ostream
&
operator
<<
(
std
::
ostream
&
stream
,
const
NTNFricRegRubinAmpuero
&
_this
)
{
_this
.
printself
(
stream
);
return
stream
;
}
}
// namespace akantu
#endif
/* AST_NTN_FRICREG_RUBIN_AMPUERO_HH_ */
Event Timeline
Log In to Comment