Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

neighbour fault #10

Open
labvit opened this issue Jul 18, 2017 · 0 comments
Open

neighbour fault #10

labvit opened this issue Jul 18, 2017 · 0 comments

Comments

@labvit
Copy link
Collaborator

labvit commented Jul 18, 2017

This code gives an error

geometry<double> geom(0);
bonding_table<double> bt;
**neighbours_table<double> ngbr(geom,bt);**

bt.set_pair("Si","O",2.5);
bt.set_pair("O","H",1.2);
    geom.build_type_table();
geom.add("Si",0,0,0);
geom.add("O",1,0,0);

ngbr.transl_mode = false;
// ngbr.build_disttable();
ngbr.build();`

but

geometry<double> geom(0);
bonding_table<double> bt;

bt.set_pair("Si","O",2.5);
bt.set_pair("O","H",1.2);
    geom.build_type_table();
geom.add("Si",0,0,0);
geom.add("O",1,0,0);

**neighbours_table<double> ngbr(geom,bt);**
ngbr.transl_mode = false;
// ngbr.build_disttable();
ngbr.build();`

and all is ok.
neighbours_table has a wrong constructor.

Will you correct?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant