Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F78813932
igfem_enrichment.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
Fri, Aug 23, 03:19
Size
2 KB
Mime Type
text/x-c++
Expires
Sun, Aug 25, 03:19 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
20059917
Attached To
rAKA akantu
igfem_enrichment.hh
View Options
/**
* @file igfem_enrichment.hh
*
* @author Aurelia Isabel Cuba Ramos <aurelia.cubaramos@epfl.ch>
*
*
* @brief IGFEM enrichment: handles geometries of interfaces and advancement with time
*
* @section LICENSE
*
* Copyright (©) 2010-2012, 2014 EPFL (Ecole Polytechnique Fédérale de Lausanne)
* Laboratory (LSMS - Laboratoire de Simulation en Mécanique des Solides)
*
*/
/* -------------------------------------------------------------------------- */
#ifndef __AKANTU_IGFEM_ENRICHMENT_HH__
#define __AKANTU_IGFEM_ENRICHMENT_HH__
#include "mesh_sphere_intersector.hh"
#include "mesh_geom_common.hh"
/* -------------------------------------------------------------------------- */
__BEGIN_AKANTU__
class
IGFEMEnrichment
{
/* ------------------------------------------------------------------------ */
/* Constructors/Destructors */
/* ------------------------------------------------------------------------ */
public
:
IGFEMEnrichment
(
Mesh
&
mesh
);
virtual
~
IGFEMEnrichment
()
{};
private
:
typedef
std
::
list
<
Spherical
::
Sphere_3
>
Geometry
;
typedef
std
::
map
<
std
::
string
,
Geometry
*>
GeometryMap
;
/* ------------------------------------------------------------------------ */
/* Methods */
/* ------------------------------------------------------------------------ */
public
:
/// create the mesh primitives
void
initialize
();
/// get a geometry from the geometry map
virtual
Geometry
&
getGeometry
(
ID
&
domain
)
const
;
/// detect the interface
virtual
void
update
(
ID
&
domain
);
/// remove geometry
virtual
void
unRegisterGeometryObject
(
const
ID
&
domain
=
""
);
/// insert new geometry
virtual
void
registerGeometryObject
(
Geometry
&
geometry
,
const
ID
&
domain
=
""
);
/// check if a point is in a given domain
inline
bool
isInside
(
const
Vector
<
Real
>
&
point
,
const
ID
&
domain
);
/* ------------------------------------------------------------------------ */
/* Class Members */
/* ------------------------------------------------------------------------ */
protected
:
MeshSphereIntersector
<
2
,
_triangle_3
>
intersector_sphere
;
GeometryMap
geometries
;
/// default geometry object
std
::
string
default_geometry
;
};
/* -------------------------------------------------------------------------- */
/* inline functions */
/* -------------------------------------------------------------------------- */
#include "igfem_enrichment_inline_impl.cc"
__END_AKANTU__
/* -------------------------------------------------------------------------- */
#endif
/* __AKANTU_IGFEM_ENRICHMENT_HH__ */
Event Timeline
Log In to Comment