# Mixed sp²/sp³
A 40 Å cubic carbon supercell (~8431 atoms), interleaved sp²/sp³ grains.
[`carbon_mixed_nc_generate.py`](../../_static/mace/carbon/mixed_nc_generate.py) reproduces this case.
## Orientation refinement
## MACE+wall relaxation
## Energy
```{image} ../../_static/mace/carbon/mixed_nc_energy_curve.png
:alt: Carbon Mixed sp²/sp³ MACE energy per atom
:width: 100%
```
| stage | E (eV/atom) |
|---|---:|
| after orientation refinement | -8.060 |
| after cleanup | -8.180 |
| after MACE | -8.632 |
## g₃ distributions
**After cleanup**
**After MACE**
## Bond length and angle distributions
```{image} ../../_static/mace/carbon/mixed_nc_bond_hist.png
:alt: Carbon Mixed sp²/sp³ bond length distribution
:width: 100%
```
```{image} ../../_static/mace/carbon/mixed_nc_angle_hist.png
:alt: Carbon Mixed sp²/sp³ angle distributions
:width: 100%
```
```{image} ../../_static/mace/carbon/mixed_nc_gr.png
:alt: Carbon Mixed sp²/sp³ pairwise g(r)
:width: 100%
```