Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F77882966
contact_detection_2d.cc
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 16, 23:56
Size
1 KB
Mime Type
text/x-c
Expires
Sun, Aug 18, 23:56 (1 d, 21 h)
Engine
blob
Format
Raw Data
Handle
19877798
Attached To
rAKA akantu
contact_detection_2d.cc
View Options
/**
* @file test_contact_detection.cc
*
* @author Mohit Pundir <mohit.pundir@epfl.ch>
*
* @date creation: Mon Oct 22 2018
* @date last modification: Mon Oct 22 2018
*
* @brief Test for contact detection
*
* @section LICENSE
*
* 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/>.
*
*/
/* -------------------------------------------------------------------------- */
#include <fstream>
#include <iostream>
/* -------------------------------------------------------------------------- */
#include "contact_detector.hh"
/* -------------------------------------------------------------------------- */
using
namespace
akantu
;
int
main
(
int
argc
,
char
*
argv
[])
{
initialize
(
"material.dat"
,
argc
,
argv
);
const
UInt
spatial_diemnsion
=
2
;
Mesh
mesh
(
spatial_diemnsion
);
mesh
.
read
(
"hertz_2d.msh"
);
ContactDetector
detector
(
mesh
);
//detector.search();
finalize
();
}
Event Timeline
Log In to Comment