Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F92909715
coupler_solid_contact_internodes.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, Nov 24, 17:49
Size
1 KB
Mime Type
text/x-c++
Expires
Tue, Nov 26, 17:49 (2 d)
Engine
blob
Format
Raw Data
Handle
22536736
Attached To
rAKA akantu
coupler_solid_contact_internodes.hh
View Options
/* -------------------------------------------------------------------------- */
#include "coupler_solid_contact.hh"
#include "contact_mechanics_internodes_model.hh"
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_COUPLER_SOLID_CONTACT_INTERNODES_HH__
#define __AKANTU_COUPLER_SOLID_CONTACT_INTERNODES_HH__
/* -------------------------------------------------------------------------- */
namespace
akantu
{
/* -------------------------------------------------------------------------- */
template
<
class
SolidMechanicsModelType
>
class
CouplerSolidContactInternodesTemplate
:
public
AbstractCouplerSolidContactTemplate
<
SolidMechanicsModelType
,
ContactMechanicsInternodesModel
>
{
public
:
CouplerSolidContactInternodesTemplate
(
Mesh
&
mesh
,
UInt
dim
=
_all_dimensions
,
const
ID
&
id
=
"coupler_solid_contact_internodes"
,
std
::
shared_ptr
<
DOFManager
>
dof_manager
=
nullptr
);
~
CouplerSolidContactInternodesTemplate
()
override
=
default
;
/// custom solve step to handle the INTERNODES iterations
void
solveStep
(
const
ID
&
solver_id
=
""
)
override
;
protected
:
/// callback for the solver to assemble the rhs
void
assembleResidual
()
override
;
/// get the type of matrix needed
MatrixType
getMatrixType
(
const
ID
&
matrix_id
)
const
override
;
/// callback for the solver, this assembles different matrices
void
assembleMatrix
(
const
ID
&
matrix_id
)
override
;
ModelSolverOptions
getDefaultSolverOptions
(
const
TimeStepSolverType
&
type
)
const
override
;
};
/* -------------------------------------------------------------------------- */
using
CouplerSolidContactInternodes
=
CouplerSolidContactInternodesTemplate
<
SolidMechanicsModel
>
;
}
// namespace akantu
/* -------------------------------------------------------------------------- */
#include "coupler_solid_contact_internodes_tmpl.hh"
#endif
// __AKANTU_COUPLER_SOLID_CONTACT_INTERNODES_HH__
Event Timeline
Log In to Comment