compute_vertex_values
In python compute_vertex_values only takes a mesh as argument, but I do not find the corresponding function in c++ or swig. Where is compute_vertex_values(mesh) defined? I am asking because I created a function get_indices below an in python I would like to do
indices = mesh.domains.get_indices(0,1)
//----------------------------------------------------------------------------- void MeshDomains::get_indices(std::vector<std::size_t> indices, std::size_t dim, std::size_t marker) const { std::map<std::size_t, std::size_t>::const_iterator it; for (it = _markers[dim].begin(); it != _markers[dim].end(); it++ ){ if(it->second == marker) indices.push_back(it->first); } }
Comments (2)
-
-
- changed status to invalid
Please do not use the issue tracker for questions. Use the support mailing list.
- Log in to comment
Please, use
markdown
- this is not readable.In
dolfin/function/Function.cpp
there is