Page Menu
Home
c4science
Search
Configure Global Search
Log In
Files
F91381698
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
Sun, Nov 10, 13:37
Size
704 B
Mime Type
text/x-c
Expires
Tue, Nov 12, 13:37 (2 d)
Engine
blob
Format
Raw Data
Handle
22253483
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