Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91347789
dumper_internal_material_field.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 10, 05:26
Size
2 KB
Mime Type
text/x-c
Expires
Tue, Nov 12, 05:26 (2 d)
Engine
blob
Format
Raw Data
Handle
22227810
Attached To
rAKA akantu
dumper_internal_material_field.hh
View Options
/**
* @file dumper_internal_material_field.hh
*
* @author Guillaume Anciaux <guillaume.anciaux@epfl.ch>
* @author Nicolas Richart <nicolas.richart@epfl.ch>
*
* @date creation: Fri Jun 18 2010
* @date last modification: Wed Mar 04 2020
*
* @brief description of material internal field
*
*
* @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/>.
*
*/
#ifndef AKANTU_DUMPER_INTERNAL_MATERIAL_FIELD_HH_
#define AKANTU_DUMPER_INTERNAL_MATERIAL_FIELD_HH_
/* -------------------------------------------------------------------------- */
#include "dumper_quadrature_point_iterator.hh"
#ifdef AKANTU_IGFEM
#include "dumper_igfem_material_internal_field.hh"
#endif
/* -------------------------------------------------------------------------- */
namespace
akantu
{
namespace
dumpers
{
/* --------------------------------------------------------------------------
*/
template
<
typename
T
,
bool
filtered
=
false
>
class
InternalMaterialField
:
public
GenericElementalField
<
SingleType
<
T
,
Vector
,
filtered
>
,
quadrature_point_iterator
>
{
/* ------------------------------------------------------------------------
*/
/* Typedefs */
/* ------------------------------------------------------------------------
*/
public
:
using
types
=
SingleType
<
T
,
Vector
,
filtered
>
;
using
parent
=
GenericElementalField
<
types
,
quadrature_point_iterator
>
;
using
field_type
=
typename
types
::
field_type
;
using
support_type
=
Element
;
/* ------------------------------------------------------------------------
*/
/* Constructors/Destructors */
/* ------------------------------------------------------------------------
*/
InternalMaterialField
(
const
field_type
&
field
,
UInt
spatial_dimension
=
_all_dimensions
,
GhostType
ghost_type
=
_not_ghost
,
ElementKind
element_kind
=
_ek_not_defined
)
:
parent
(
field
,
spatial_dimension
,
ghost_type
,
element_kind
)
{}
};
}
// namespace dumpers
}
// namespace akantu
#endif
/* AKANTU_DUMPER_INTERNAL_MATERIAL_FIELD_HH_ */
Event Timeline
Log In to Comment