Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
3cd8dff
Add missing comment headers.
trisyoungs Apr 27, 2026
187745e
Remove old and unused guessOxidationState().
trisyoungs Apr 27, 2026
b4f77db
cif refactor
RobBuchananCompPhys Apr 29, 2026
8569e31
delete unused files; fix typo in node name; fix structure bonding
RobBuchananCompPhys May 6, 2026
4a894fe
delete unused files; fix typo in node name; fix structure bonding 2
RobBuchananCompPhys May 6, 2026
bc7308a
format
RobBuchananCompPhys May 6, 2026
98a0688
format 2
RobBuchananCompPhys May 6, 2026
4e531e5
format 3
RobBuchananCompPhys May 6, 2026
a33830e
break up cip context into node (strange compiler fail to find atnlr C…
RobBuchananCompPhys May 7, 2026
638607e
add option for now
RobBuchananCompPhys May 7, 2026
562c5bd
fix compilation for antlr dir
RobBuchananCompPhys May 7, 2026
f8e89d4
fix structure bonding from cif and a few other changes
RobBuchananCompPhys May 8, 2026
30a6b10
remove dissolve 1 cif context dependencies and legacy code
RobBuchananCompPhys May 8, 2026
18fe0f9
clear structure at process
RobBuchananCompPhys May 8, 2026
655090d
remove neta header
RobBuchananCompPhys May 11, 2026
a2556b0
edit descriptive comments
RobBuchananCompPhys May 11, 2026
bd8cac7
no metallic bonding option
RobBuchananCompPhys May 11, 2026
397db67
replace deprecated std library strstream to fix non-linux compiler error
RobBuchananCompPhys May 11, 2026
9745587
graphene species dialog is back!
RobBuchananCompPhys May 11, 2026
d94b877
use message
RobBuchananCompPhys May 11, 2026
e456cbe
clang format
RobBuchananCompPhys May 12, 2026
d2616d3
remove prevent metallic bonding
RobBuchananCompPhys May 13, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/classes/structure.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ int Structure::nAtoms(Atom::Presence withPresence) const
{ return i->isPresence(withPresence); });
}

// Return atom at index
StructureAtom *Structure::atomAt(int i) { return atoms_[i].get(); }

// Return atoms
const std::vector<std::unique_ptr<StructureAtom>> &Structure::atoms() const { return atoms_; }
std::vector<std::unique_ptr<StructureAtom>> &Structure::atoms() { return atoms_; }
Expand Down
2 changes: 2 additions & 0 deletions src/classes/structure.h
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,8 @@ class Structure : public Serialisable<>
void removeAtoms(const std::vector<const StructureAtom *> &atoms);
// Return the number of atoms
int nAtoms(Atom::Presence withPresence = Atom::Presence::Any) const;
// Return atom at index
StructureAtom *atomAt(int i);
// Return atoms
const std::vector<std::unique_ptr<StructureAtom>> &atoms() const;
std::vector<std::unique_ptr<StructureAtom>> &atoms();
Expand Down
2 changes: 1 addition & 1 deletion src/gui/createGrapheneSpeciesDialog.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -518,4 +518,4 @@ void CreateGrapheneSpeciesDialog::on_OKButton_clicked(bool checked)
accept();
}

void CreateGrapheneSpeciesDialog::on_CancelButton_clicked(bool checked) { reject(); }
void CreateGrapheneSpeciesDialog::on_CancelButton_clicked(bool checked) { reject(); }
3 changes: 1 addition & 2 deletions src/gui/createGrapheneSpeciesDialog.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@
#include "gui/selectElementDialog.h"
#include "gui/ui_createGrapheneSpeciesDialog.h"
#include "gui/wizard.h"
#include "io/import/cif.h"
#include "main/dissolve.h"
#include <QDialog>

Expand Down Expand Up @@ -110,4 +109,4 @@ class CreateGrapheneSpeciesDialog : public QDialog
// Dialog
void on_OKButton_clicked(bool checked);
void on_CancelButton_clicked(bool checked);
};
};
2 changes: 1 addition & 1 deletion src/gui/createGrapheneSpeciesDialog.ui
Original file line number Diff line number Diff line change
Expand Up @@ -1011,4 +1011,4 @@
<include location="main.qrc"/>
</resources>
<connections/>
</ui>
</ui>
2 changes: 1 addition & 1 deletion src/gui/gui.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class DissolveWindow : public QMainWindow
void on_SpeciesImportFromDissolveAction_triggered(bool checked);
void on_SpeciesImportFromXYZAction_triggered(bool checked);
void on_SpeciesImportLigParGenAction_triggered(bool checked);
void on_SpeciesImportFromCIFAction_triggered(bool checked);
// void on_SpeciesImportFromCIFAction_triggered(bool checked);
void on_SpeciesRenameAction_triggered(bool checked);
void on_SpeciesDeleteAction_triggered(bool checked);
void on_SpeciesAddForcefieldTermsAction_triggered(bool checked);
Expand Down
323 changes: 0 additions & 323 deletions src/gui/importCIFDialog.cpp

This file was deleted.

Loading
Loading