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

Single spherical crystalline seed initial condition. More...

Include dependency graph for single_seed.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pfc::SingleSeed
 

Detailed Description

Single spherical crystalline seed initial condition.

This file defines the SingleSeed class, which places a single spherical crystalline seed at a specified location. Useful for:

  • Single crystal growth simulations
  • Dendritic solidification studies
  • Validation against analytical solutions

The seed's location, size, density, and amplitude are configurable.

Usage:

auto ic = std::make_unique<pfc::SingleSeed>();
ic->set_amplitude(0.2);
ic->set_density(0.5);
simulator.add_initial_condition(std::move(ic));
See also
seed.hpp for seed construction helper
field_modifier.hpp for base class
Author
OpenPFC Contributors
Date
2025