Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F82516001
element_class_point_1_inline_impl.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
Wed, Sep 11, 21:10
Size
2 KB
Mime Type
text/x-c++
Expires
Fri, Sep 13, 21:10 (2 d)
Engine
blob
Format
Raw Data
Handle
20607932
Attached To
rAKA akantu
element_class_point_1_inline_impl.hh
View Options
/**
* @file element_class_point_1_inline_impl.hh
*
* @author Nicolas Richart <nicolas.richart@epfl.ch>
*
* @date creation: Fri Jun 18 2010
* @date last modification: Wed Oct 11 2017
*
* @brief Specialization of the element_class class for the type _point_1
*
*
* Copyright (©) 2010-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/>.
*
*
* @verbatim
x
(0)
@endverbatim
*
* @f{eqnarray*}{
* N1 &=& 1
* @f}
*
* @f{eqnarray*}{
* q_0 &=& 0
* @f}
*/
/* -------------------------------------------------------------------------- */
#include "element_class.hh"
/* -------------------------------------------------------------------------- */
namespace
akantu
{
AKANTU_DEFINE_ELEMENT_CLASS_PROPERTY
(
_point_1
,
_gt_point
,
_itp_lagrange_point_1
,
_ek_regular
,
0
,
_git_point
,
1
);
/* -------------------------------------------------------------------------- */
template
<>
template
<
class
vector_type
>
inline
void
InterpolationElement
<
_itp_lagrange_point_1
>::
computeShapes
(
__attribute__
((
unused
))
const
vector_type
&
natural_coords
,
vector_type
&
N
)
{
N
(
0
)
=
1
;
/// N1(q_0)
}
/* -------------------------------------------------------------------------- */
template
<>
template
<
class
vector_type
,
class
matrix_type
>
inline
void
InterpolationElement
<
_itp_lagrange_point_1
>::
computeDNDS
(
__attribute__
((
unused
))
const
vector_type
&
natural_coords
,
__attribute__
((
unused
))
matrix_type
&
dnds
)
{}
/* -------------------------------------------------------------------------- */
template
<>
inline
void
InterpolationElement
<
_itp_lagrange_point_1
>::
computeSpecialJacobian
(
__attribute__
((
unused
))
const
Matrix
<
Real
>
&
J
,
Real
&
jac
)
{
jac
=
0.
;
}
/* -------------------------------------------------------------------------- */
template
<>
inline
Real
GeometricalElement
<
_gt_point
>::
getInradius
(
__attribute__
((
unused
))
const
Matrix
<
Real
>
&
coord
)
{
return
0.
;
}
}
// namespace akantu
Event Timeline
Log In to Comment