104 double aux(0),
min(999);
120 return match_candidate.mag() > 0.001;
131 std::vector<Amg::Vector3D>
getVertexPos(
const std::vector<double> &vtx_x,
const std::vector<double> &vtx_y,
const std::vector<double> &vtx_z){
132 std::vector<Amg::Vector3D> vertices;
133 for (
unsigned int i=0;
i<vtx_x.size(); ++
i){
135 vertices.push_back(vtx_pos);
142 std::vector<std::vector<Amg::Vector3D>>
getConstituentPos(
int Nvtx,
const std::vector<int> &obj_vtx_link,
143 const std::vector<double> &obj_x,
const std::vector<double> &obj_y,
const std::vector<double> &obj_z){
145 std::vector<std::vector<Amg::Vector3D>> consti_vec;
146 for (
int j=0; j<Nvtx; ++j){
147 std::vector<Amg::Vector3D> consti;
148 for (
unsigned int k=0;
k<obj_x.size(); ++
k){
149 if (obj_vtx_link[
k] == j){consti.push_back(
Amg::Vector3D(obj_x[
k], obj_y[
k], obj_z[
k]));}
151 consti_vec.push_back(consti);