Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F79168289
material_mazars_non_local.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, Aug 25, 02:35
Size
3 KB
Mime Type
text/x-c++
Expires
Tue, Aug 27, 02:35 (1 d, 23 h)
Engine
blob
Format
Raw Data
Handle
20158820
Attached To
rAKA akantu
material_mazars_non_local.hh
View Options
/**
* @file material_mazars_non_local.hh
*
* @author Marion Estelle Chambart <marion.chambart@epfl.ch>
* @author Nicolas Richart <nicolas.richart@epfl.ch>
*
* @date creation: Fri Jun 18 2010
* @date last modification: Fri Jul 24 2020
*
* @brief Mazars non-local description
*
*
* @section LICENSE
*
* Copyright (©) 2010-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/>.
*
*/
/* -------------------------------------------------------------------------- */
#include "aka_common.hh"
#include "material_damage_non_local.hh"
#include "material_mazars.hh"
/* -------------------------------------------------------------------------- */
#ifndef AKANTU_MATERIAL_MAZARS_NON_LOCAL_HH_
#define AKANTU_MATERIAL_MAZARS_NON_LOCAL_HH_
namespace
akantu
{
/**
* Material Mazars Non local
*
* parameters in the material files :
*/
template
<
Int
dim
,
template
<
Int
>
class
Parent
=
MaterialElastic
>
class
MaterialMazarsNonLocal
:
public
MaterialDamageNonLocal
<
dim
,
MaterialMazars
<
dim
,
Parent
>>
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
using
parent
=
MaterialDamageNonLocal
<
dim
,
MaterialMazars
<
dim
,
Parent
>>
;
MaterialMazarsNonLocal
(
SolidMechanicsModel
&
model
,
const
ID
&
id
=
""
);
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
protected
:
/// constitutive law for all element of a type
void
computeStress
(
ElementType
el_type
,
GhostType
ghost_type
=
_not_ghost
)
override
;
void
computeNonLocalStress
(
ElementType
el_type
,
GhostType
ghost_type
=
_not_ghost
)
override
;
void
registerNonLocalVariables
()
override
;
/* ------------------------------------------------------------------------ */
/* Accessors */
/* ------------------------------------------------------------------------ */
public
:
decltype
(
auto
)
getArguments
(
ElementType
el_type
,
GhostType
ghost_type
)
{
return
zip_replace
<
"Ehat"
_h
>
(
parent
::
getArguments
(
el_type
,
ghost_type
),
make_view
(
this
->
Ehat
(
el_type
,
ghost_type
)));
}
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
private
:
/// the ehat per quadrature points to perform the averaging
InternalField
<
Real
>
Ehat
;
InternalField
<
Real
>
non_local_variable
;
};
}
// namespace akantu
#include "material_mazars_non_local_tmpl.hh"
#endif
/* AKANTU_MATERIAL_MAZARS_NON_LOCAL_HH_ */
Event Timeline
Log In to Comment