Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F66061866
test_material.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
Sat, Jun 8, 00:34
Size
2 KB
Mime Type
text/x-c++
Expires
Mon, Jun 10, 00:34 (2 d)
Engine
blob
Format
Raw Data
Handle
18167323
Attached To
rAKA akantu
test_material.hh
View Options
/**
* Copyright (©) 2010-2023 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
* This file is part of Akantu
*
* 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 "material_damage.hh"
#include "material_damage_non_local.hh"
#ifndef TEST_MATERIAL_HH_
#define TEST_MATERIAL_HH_
using
namespace
akantu
;
template
<
Int
dim
>
class
TestMaterial
:
public
MaterialDamageNonLocal
<
dim
,
MaterialDamage
<
dim
,
MaterialElastic
>>
{
/* ------------------------------------------------------------------------ */
/* Constructor/Destructor */
/* ------------------------------------------------------------------------ */
public
:
using
Parent
=
MaterialDamageNonLocal
<
dim
,
MaterialDamage
<
dim
,
MaterialElastic
>>
;
TestMaterial
(
SolidMechanicsModel
&
model
,
const
ID
&
id
);
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
void
registerNonLocalVariables
()
override
final
;
void
computeNonLocalStress
(
ElementType
,
GhostType
)
override
final
{};
void
computeNonLocalStresses
(
GhostType
)
override
final
{};
protected
:
ID
getNeighborhoodName
()
override
{
return
"test_region"
;
}
/* ------------------------------------------------------------------------ */
/* Members */
/* ------------------------------------------------------------------------ */
private
:
InternalField
<
Real
>
&
grad_u_nl
;
};
#endif
/* TEST_MATERIAL_HH_ */
Event Timeline
Log In to Comment