Migrate an Existing Model¶
If you already have a monolithic MCNP input file, use the migrate command to convert it into a Gitronics project structure automatically.
This produces:
my_project/
├── configurations/
│ └── baseline.yaml ← ready-to-use baseline configuration
├── output/
│ └── .gitignore
└── reference_model/
├── envelope_structure.mcnp
├── envelope_structure.metadata
└── filler_models/
├── universe_101.mcnp
├── universe_101.metadata
└── ...
Tip
The migrate command does its best to identify universe boundaries automatically.
Review the generated envelope_structure.mcnp and filler models to confirm they look correct before committing.
After migration, verify the round-trip by running a build:
See also: Migrate command details.