OpenPFC  0.1.4
Phase Field Crystal simulation framework
Loading...
Searching...
No Matches
app.hpp File Reference

Application class for running simulations from JSON/TOML configuration. More...

#include "field_modifier_registry.hpp"
#include "from_json.hpp"
#include "json_helpers.hpp"
#include "openpfc/openpfc.hpp"
#include "openpfc/utils/memory_reporter.hpp"
#include "openpfc/utils/timeleft.hpp"
#include "openpfc/utils/toml_to_json.hpp"
#include <filesystem>
#include <fstream>
#include <iostream>
#include <nlohmann/json.hpp>
#include <toml++/toml.hpp>
Include dependency graph for app.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pfc::ui::App< ConcreteModel >
 The main json-based application. More...
 

Detailed Description

Application class for running simulations from JSON/TOML configuration.

This header provides the App template class that orchestrates the entire simulation workflow from configuration files. It handles:

  • Reading JSON/TOML configuration files
  • Creating and configuring the simulation world
  • Setting up initial and boundary conditions
  • Running the simulation loop
  • Writing results
  • Performance timing and reporting
Author
OpenPFC Development Team
Date
2025