Alamo
|
Public Member Functions | |
PhaseFieldMicrostructure () | |
PhaseFieldMicrostructure (IO::ParmParse &pp) | |
virtual | ~PhaseFieldMicrostructure () |
Public Member Functions inherited from Integrator::Base::Mechanics< model_type > | |
Mechanics () | |
Public Member Functions inherited from Integrator::Integrator | |
Integrator () | |
virtual | ~Integrator () |
void | InitData () |
void | Restart (std::string restartfile, bool a_node=false) |
void | Evolve () |
void | SetFilename (std::string _plot_file) |
std::string | GetFilename () |
void | regrid (int lbase, Set::Scalar time, bool initial=false) override |
void | InitFromScratch (Set::Scalar time) |
template<class T , int d> | |
ALAMO_SINGLE_DEFINITION void | AddField (Set::Field< T > &new_field, BC::BC< T > *new_bc, int ncomp, int nghost, std::string name, bool writeout, bool evolving, std::vector< std::string >) |
template<class T > | |
ALAMO_SINGLE_DEFINITION void | RegisterGeneralFab (Set::Field< T > &new_fab, int ncomp, int nghost, bool evolving) |
template<class T > | |
ALAMO_SINGLE_DEFINITION void | RegisterGeneralFab (Set::Field< T > &new_fab, int ncomp, int nghost, std::string a_name, bool evolving) |
template<class T > | |
AMREX_ATTRIBUTE_WEAK void | RegisterGeneralFab (Set::Field< T > &new_fab, int ncomp, int nghost, bool writeout, std::string a_name, bool evolving) |
Static Public Member Functions | |
static void | Parse (PhaseFieldMicrostructure &value, IO::ParmParse &pp) |
Static Public Member Functions inherited from Integrator::Base::Mechanics< model_type > | |
static void | Parse (Mechanics &value, IO::ParmParse &pp) |
Protected Member Functions | |
void | Advance (int lev, Real time, Real dt) override |
void | Initialize (int lev) override |
void | TagCellsForRefinement (int lev, amrex::TagBoxArray &tags, amrex::Real time, int ngrow) override |
virtual void | TimeStepBegin (amrex::Real time, int iter) override |
virtual void | TimeStepComplete (amrex::Real time, int iter) override |
void | Integrate (int amrlev, Set::Scalar time, int step, const amrex::MFIter &mfi, const amrex::Box &box) override |
virtual void | UpdateModel (int, Set::Scalar) override |
Protected Member Functions inherited from Integrator::Base::Mechanics< model_type > | |
void | Initialize (int lev) override |
void | Advance (int lev, Set::Scalar time, Set::Scalar dt) override |
void | Integrate (int amrlev, Set::Scalar, int, const amrex::MFIter &mfi, const amrex::Box &a_box) override |
void | TagCellsForRefinement (int lev, amrex::TagBoxArray &a_tags, Set::Scalar, int) override |
Protected Member Functions inherited from Integrator::Integrator | |
virtual void | Regrid (int, Set::Scalar) |
void | RegisterNewFab (Set::Field< Set::Scalar > &new_fab, BC::BC< Set::Scalar > *new_bc, int ncomp, int nghost, std::string name, bool writeout, std::vector< std::string > suffix={}) |
void | RegisterNewFab (Set::Field< Set::Scalar > &new_fab, int ncomp, std::string name, bool writeout, std::vector< std::string > suffix={}) |
void | RegisterNodalFab (Set::Field< Set::Scalar > &new_fab, int ncomp, int nghost, std::string name, bool writeout, std::vector< std::string > suffix={}) |
void | RegisterNodalFab (Set::Field< Set::Scalar > &new_fab, BC::BC< Set::Scalar > *new_bc, int ncomp, int nghost, std::string name, bool writeout, std::vector< std::string > suffix={}) |
template<class T > | |
void | RegisterGeneralFab (Set::Field< T > &new_fab, int ncomp, int nghost, bool evolving=true) |
template<class T > | |
void | RegisterGeneralFab (Set::Field< T > &new_fab, int ncomp, int nghost, std::string a_name, bool evolving=true) |
template<class T > | |
void | RegisterGeneralFab (Set::Field< T > &new_fab, int ncomp, int nghost, bool writeout, std::string a_name, bool evolving=true) |
template<class T , int d> | |
void | AddField (Set::Field< T > &new_field, BC::BC< T > *new_bc, int ncomp, int nghost, std::string, bool writeout, bool evolving, std::vector< std::string > suffix={}) |
void | SetFinestLevel (const int a_finestlevel) |
void | RegisterIntegratedVariable (Set::Scalar *integrated_variable, std::string name, bool extensive=true) |
void | SetTimestep (Set::Scalar _timestep) |
void | SetPlotInt (int plot_int) |
void | SetThermoInt (int a_thermo_int) |
void | SetThermoPlotInt (int a_thermo_plot_int) |
void | SetStopTime (Set::Scalar a_stop_time) |
void | DynamicTimestep_SyncTimeStep (int lev, Set::Scalar dt_min) |
void | DynamicTimestep_Reset () |
void | DynamicTimestep_Update () |
void | IntegrateVariables (Set::Scalar cur_time, int step) |
void | WritePlotFile (bool initial=false) const |
void | WritePlotFile (std::string prefix, Set::Scalar time, int step) const |
void | WritePlotFile (Set::Scalar time, amrex::Vector< int > iter, bool initial=false, std::string prefix="") const |
Private Types | |
enum | ThresholdType { Continuous = 0, Chop = 1 } |
Solve the Allen-Cahn evolution equation for microstructure with parameters \(\eta_1\ldots\eta_n\), where n corresponds to the number of grains.
Definition at line 57 of file PhaseFieldMicrostructure.H.
|
private |
Enumerator | |
---|---|
Continuous | |
Chop |
Definition at line 270 of file PhaseFieldMicrostructure.H.
|
inline |
Definition at line 60 of file PhaseFieldMicrostructure.H.
|
inline |
Definition at line 61 of file PhaseFieldMicrostructure.H.
|
inlinevirtual |
Definition at line 63 of file PhaseFieldMicrostructure.H.
|
overrideprotected |
Evolve phase field in time.
TODO Make this optional
Definition at line 29 of file PhaseFieldMicrostructure.cpp.
|
overrideprotectedvirtual |
Implements Integrator::Integrator.
Definition at line 273 of file PhaseFieldMicrostructure.cpp.
|
overrideprotectedvirtual |
Reimplemented from Integrator::Integrator.
Definition at line 360 of file PhaseFieldMicrostructure.cpp.
|
inlinestatic |
|
overrideprotectedvirtual |
Implements Integrator::Integrator.
Definition at line 281 of file PhaseFieldMicrostructure.cpp.
|
overrideprotectedvirtual |
Reimplemented from Integrator::Base::Mechanics< model_type >.
Definition at line 346 of file PhaseFieldMicrostructure.cpp.
|
overrideprotectedvirtual |
Reimplemented from Integrator::Integrator.
Definition at line 306 of file PhaseFieldMicrostructure.cpp.
|
overrideprotectedvirtual |
Implements Integrator::Base::Mechanics< model_type >.
Definition at line 312 of file PhaseFieldMicrostructure.cpp.
struct { ... } Integrator::PhaseFieldMicrostructure< model_type >::anisotropic_kinetics |
struct { ... } Integrator::PhaseFieldMicrostructure< model_type >::anisotropy |
|
private |
Definition at line 337 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::beta |
Definition at line 306 of file PhaseFieldMicrostructure.H.
bool Integrator::PhaseFieldMicrostructure< model_type >::boundary = false |
Definition at line 285 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 332 of file PhaseFieldMicrostructure.H.
bool Integrator::PhaseFieldMicrostructure< model_type >::chempot = false |
Definition at line 284 of file PhaseFieldMicrostructure.H.
bool Integrator::PhaseFieldMicrostructure< model_type >::corner = false |
Definition at line 286 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 263 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 264 of file PhaseFieldMicrostructure.H.
bool Integrator::PhaseFieldMicrostructure< model_type >::elastic_df = false |
Definition at line 280 of file PhaseFieldMicrostructure.H.
int Integrator::PhaseFieldMicrostructure< model_type >::elastic_int = -1 |
Definition at line 314 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::elastic_mult = NAN |
Definition at line 281 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 262 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 330 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::gamma = NAN |
Definition at line 277 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 330 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 338 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 334 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::L = NAN |
Definition at line 275 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::l_gb = NAN |
Definition at line 279 of file PhaseFieldMicrostructure.H.
Set::Field<Set::Scalar> Integrator::PhaseFieldMicrostructure< model_type >::L_mf |
Definition at line 300 of file PhaseFieldMicrostructure.H.
bool Integrator::PhaseFieldMicrostructure< model_type >::lagrange = false |
Definition at line 287 of file PhaseFieldMicrostructure.H.
struct { ... } Integrator::PhaseFieldMicrostructure< model_type >::lagrange |
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::lambda = NAN |
Definition at line 321 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::M = NAN |
Definition at line 274 of file PhaseFieldMicrostructure.H.
bool Integrator::PhaseFieldMicrostructure< model_type >::mechanics = false |
Definition at line 288 of file PhaseFieldMicrostructure.H.
struct { ... } Integrator::PhaseFieldMicrostructure< model_type >::mechanics |
Numeric::Interpolator::Linear<Set::Scalar> Integrator::PhaseFieldMicrostructure< model_type >::mobility |
Definition at line 298 of file PhaseFieldMicrostructure.H.
std::vector<model_type> Integrator::PhaseFieldMicrostructure< model_type >::model |
Definition at line 345 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::mu = NAN |
Definition at line 276 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 266 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 258 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 257 of file PhaseFieldMicrostructure.H.
bool Integrator::PhaseFieldMicrostructure< model_type >::on = false |
Definition at line 283 of file PhaseFieldMicrostructure.H.
int Integrator::PhaseFieldMicrostructure< model_type >::on = 0 |
Definition at line 296 of file PhaseFieldMicrostructure.H.
struct { ... } Integrator::PhaseFieldMicrostructure< model_type >::pf |
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::phi0 = 0.0 |
Definition at line 313 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::plot_dt = -1.0 |
Definition at line 310 of file PhaseFieldMicrostructure.H.
int Integrator::PhaseFieldMicrostructure< model_type >::plot_int = -1 |
Definition at line 309 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 339 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 259 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 340 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 269 of file PhaseFieldMicrostructure.H.
bool Integrator::PhaseFieldMicrostructure< model_type >::sdf = false |
Definition at line 289 of file PhaseFieldMicrostructure.H.
struct { ... } Integrator::PhaseFieldMicrostructure< model_type >::sdf |
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::sigma0 = NAN |
Definition at line 278 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::sigma1 |
Definition at line 312 of file PhaseFieldMicrostructure.H.
int Integrator::PhaseFieldMicrostructure< model_type >::thermo_int = -1 |
Definition at line 311 of file PhaseFieldMicrostructure.H.
int Integrator::PhaseFieldMicrostructure< model_type >::thermo_plot_int = -1 |
Definition at line 311 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::theta0 |
Definition at line 312 of file PhaseFieldMicrostructure.H.
struct { ... } Integrator::PhaseFieldMicrostructure< model_type >::threshold |
Numeric::Interpolator::Linear<Set::Scalar> Integrator::PhaseFieldMicrostructure< model_type >::threshold |
Definition at line 299 of file PhaseFieldMicrostructure.H.
Set::Field<Set::Scalar> Integrator::PhaseFieldMicrostructure< model_type >::threshold_mf |
Definition at line 301 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::timestep |
Definition at line 307 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::tstart = 0.0 |
Definition at line 297 of file PhaseFieldMicrostructure.H.
ThresholdType Integrator::PhaseFieldMicrostructure< model_type >::type = ThresholdType::Continuous |
Definition at line 291 of file PhaseFieldMicrostructure.H.
std::vector<Numeric::Interpolator::Linear<Set::Scalar> > Integrator::PhaseFieldMicrostructure< model_type >::val |
Definition at line 326 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::value = NAN |
Definition at line 290 of file PhaseFieldMicrostructure.H.
Set::Scalar Integrator::PhaseFieldMicrostructure< model_type >::vol0 = NAN |
Definition at line 320 of file PhaseFieldMicrostructure.H.
|
private |
Definition at line 336 of file PhaseFieldMicrostructure.H.