Skip to content

Metal surface reconstuctions benchmark#392

Open
Felixrccs wants to merge 5 commits intoddmms:mainfrom
Felixrccs:metal_surfaces
Open

Metal surface reconstuctions benchmark#392
Felixrccs wants to merge 5 commits intoddmms:mainfrom
Felixrccs:metal_surfaces

Conversation

@Felixrccs
Copy link

@Felixrccs Felixrccs commented Feb 25, 2026

Pre-review checklist for PR author

PR author must check the checkboxes below when creating the PR.

Summary

Geometry optimizations of Cu(111)O and Pd/Au(111)C/O/N surface reconstructions and evaluation of surface energy and structural integrity.

Progress

  • Calculations
  • Analysis
  • Application
  • Documentation

Testing

Most mace models

New decorators/callbacks

No

Felixrccs and others added 3 commits February 4, 2026 09:25
@joehart2001
Copy link
Collaborator

Hi, ive uploaded the data and made a code suggestion for the s3 bucket download with the path i've uploaded it to + tested it

Felixrccs and others added 2 commits February 25, 2026 17:33
…_surface_reconstructions.py

Co-authored-by: Joseph Hart <92541539+joehart2001@users.noreply.github.com>
@Felixrccs
Copy link
Author

Thanks I accepted you suggestions. I also cleaned the old files up now. So it should be completely done now. Thanks again

MODELS = get_model_names(current_models)
print(MODELS)
#D3_MODEL_NAMES = build_d3_name_map(MODELS)
CALC_PATH = CALCS_ROOT / "surfaces" / "metal_surfaces" / "outputs"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
CALC_PATH = CALCS_ROOT / "surfaces" / "metal_surfaces" / "outputs"
CALC_PATH = CALCS_ROOT / "surfaces" / "metal_surface_reconstructions" / "outputs"

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

for consistency

for model_name in MODELS:
if slab_positions[model_name]:
results[model_name] = (
np.mean(np.linalg.norm(np.concat(slab_positions["ref"])-np.concat(slab_positions[model_name]),axis=1))
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
np.mean(np.linalg.norm(np.concat(slab_positions["ref"])-np.concat(slab_positions[model_name]),axis=1))
np.mean(
np.linalg.norm(
np.concatenate(slab_positions["ref"])
- np.concatenate(slab_positions[model_name]),
axis=1,
)
)

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i think the numpy funciton is np.concatenate and not concat

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

Successfully merging this pull request may close these issues.

2 participants