Mercurial > fem-fenics-eugenio
comparison src/meshfunction.h @ 267:53039ac90368
Mark meshfunction using subdomain
* src/SubDomain.cc: return subdomain to use for marking
* src/MeshFunction.cc: return a user defined meshfunction
* src/mark.cc: with the information from subdomain, mark a meshfunction
author | Eugenio Gianniti <eugenio.gianniti@mail.polimi.it> |
---|---|
date | Tue, 12 Aug 2014 15:42:50 +0200 |
parents | a61fc34334ca |
children | 61830a4f9ab9 |
comparison
equal
deleted
inserted
replaced
266:6b37560b7cbb | 267:53039ac90368 |
---|---|
39 std::string const & filename) | 39 std::string const & filename) |
40 : octave_base_value (), | 40 : octave_base_value (), |
41 pmf (new dolfin::MeshFunction <std::size_t> (mesh, filename)), | 41 pmf (new dolfin::MeshFunction <std::size_t> (mesh, filename)), |
42 str (label) {} | 42 str (label) {} |
43 | 43 |
44 meshfunction (std::string const & label, | |
45 SHARED_PTR <dolfin::Mesh const> mesh, | |
46 std::size_t dim, std::size_t value) | |
47 : octave_base_value (), | |
48 pmf (new dolfin::MeshFunction <std::size_t> (mesh, dim, value)), | |
49 str (label) {} | |
50 | |
44 bool | 51 bool |
45 is_defined (void) const | 52 is_defined (void) const |
46 { return true; } | 53 { return true; } |
47 | 54 |
48 void | 55 void |