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

Helper class for constructing spherical seed initial conditions. More...

#include <array>
#include <cmath>
Include dependency graph for seed.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  pfc::Seed
 Seed is a helper class to construct various of initial conditions. More...
 

Detailed Description

Helper class for constructing spherical seed initial conditions.

This file defines the Seed class, a helper for creating spherical crystalline seeds with specific orientations. The Seed class:

  • Generates density profiles for spherical regions
  • Supports crystallographic orientations (BCC, FCC, etc.)
  • Handles coordinate transformations (yaw, pitch, roll)
  • Used by SingleSeed, SeedGrid, and RandomSeeds classes

The Seed class is a building block for various seeding strategies in solidification simulations.

See also
single_seed.hpp for single seed placement
seed_grid.hpp for regular grid of seeds
random_seeds.hpp for random seed distribution
Author
OpenPFC Contributors
Date
2025