Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91172248
embedded_interface_intersector.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, Nov 8, 15:24
Size
2 KB
Mime Type
text/x-c++
Expires
Sun, Nov 10, 15:24 (2 d)
Engine
blob
Format
Raw Data
Handle
22205863
Attached To
rAKA akantu
embedded_interface_intersector.hh
View Options
/**
* @file embedded_interface_intersector.hh
*
* @author Lucas Frerot <lucas.frerot@epfl.ch>
*
* @date creation: Wed Apr 29 2015
* @date last modification: Wed Apr 29 2015
*
* @brief Class that loads the interface from mesh and computes intersections
*
* @section LICENSE
*
* Copyright (©) 2010-2015 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_EMBEDDED_INTERFACE_INTERSECTOR_HH__
#define __AKANTU_EMBEDDED_INTERFACE_INTERSECTOR_HH__
#include "aka_common.hh"
#include "mesh_geom_common.hh"
#include "mesh_geom_abstract.hh"
#include "mesh_segment_intersector.hh"
/* -------------------------------------------------------------------------- */
__BEGIN_AKANTU__
typedef
Cartesian
K
;
/**
* @brief Computes the intersections of the reinforcements defined in the primitive mesh
*
* The purpose of this class is to look for reinforcements in the primitive mesh, which
* should be defined by physical groups with the same names as the reinforcement materials
* in the model.
*
* It then constructs the CGAL primitives from the elements of those reinforcements
* and computes the intersections with the background mesh, to create an `interface_mesh`,
* which is in turn used by the EmbeddedInterfaceModel.
*
* @see MeshSegmentIntersector, MeshGeomAbstract
* @see EmbeddedInterfaceModel
*/
class
EmbeddedInterfaceIntersector
:
public
MeshGeomAbstract
{
public
:
/// Construct from mesh and a reinforcement mesh
explicit
EmbeddedInterfaceIntersector
(
Mesh
&
mesh
,
const
Mesh
&
primitive_mesh
);
/// Destructor
virtual
~
EmbeddedInterfaceIntersector
();
public
:
/// Generate the interface mesh
virtual
void
constructData
(
GhostType
ghost_type
=
_not_ghost
);
/// Create a segment with an element connectivity
K
::
Segment_3
createSegment
(
const
Vector
<
UInt
>
&
connectivity
);
/// Getter for interface mesh
AKANTU_GET_MACRO_NOT_CONST
(
InterfaceMesh
,
interface_mesh
,
Mesh
&
);
protected
:
/// Resulting mesh of intersection
Mesh
interface_mesh
;
/// Mesh used for primitive construction
const
Mesh
&
primitive_mesh
;
};
__END_AKANTU__
#endif
// __AKANTU_EMBEDDED_INTERFACE_INTERSECTOR_HH__
Event Timeline
Log In to Comment