Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F90916840
test_node_selector.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
Tue, Nov 5, 23:30
Size
704 B
Mime Type
text/x-c
Expires
Thu, Nov 7, 23:30 (2 d)
Engine
blob
Format
Raw Data
Handle
22158372
Attached To
rAKA akantu
test_node_selector.cc
View Options
#include "aka_common.hh"
#include "node_selector.hh"
#include "contact_mechanics_model.hh"
/* -------------------------------------------------------------------------- */
using
namespace
akantu
;
int
main
(
int
argc
,
char
*
argv
[])
{
const
UInt
spatial_dimension
=
3
;
initialize
(
"material.dat"
,
argc
,
argv
);
Mesh
mesh
(
spatial_dimension
);
mesh
.
read
(
"contact_hertz_2d.msh"
);
ContactMechanicsModel
model
(
mesh
);
PhysicalSurfaceNodeSelector
selector
(
model
);
auto
&
slave
=
selector
.
getSlaveList
();
auto
&
master
=
selector
.
getMasterList
();
for
(
auto
&
s
:
slave
)
{
std
::
cerr
<<
s
<<
std
::
endl
;
}
for
(
auto
m
:
master
)
{
std
::
cerr
<<
m
<<
std
::
endl
;
}
return
0
;
}
Event Timeline
Log In to Comment