Alamo
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Private Attributes
Integrator::Dendrite Class Reference
Inheritance diagram for Integrator::Dendrite:
[legend]
Collaboration diagram for Integrator::Dendrite:
[legend]

Public Member Functions

 Dendrite ()
 
 Dendrite (IO::ParmParse &pp)
 
- 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)
 
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 (Dendrite &value, IO::ParmParse &pp)
 

Protected Member Functions

void Initialize (int lev)
 
void Advance (int lev, Set::Scalar, Set::Scalar dt)
 
void TagCellsForRefinement (int lev, amrex::TagBoxArray &a_tags, Set::Scalar, int)
 
- Protected Member Functions inherited from Integrator::Integrator
virtual void TimeStepBegin (Set::Scalar, int)
 
virtual void TimeStepComplete (Set::Scalar, int)
 
virtual void Integrate (int, Set::Scalar, int, const amrex::MFIter &, const amrex::Box &)
 
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)
 
void RegisterNewFab (Set::Field< Set::Scalar > &new_fab, int ncomp, std::string name, bool writeout)
 
void RegisterNodalFab (Set::Field< Set::Scalar > &new_fab, int ncomp, int nghost, std::string name, bool writeout)
 
void RegisterNodalFab (Set::Field< Set::Scalar > &new_fab, BC::BC< Set::Scalar > *new_bc, int ncomp, int nghost, std::string name, bool writeout)
 
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)
 
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 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
 

Protected Attributes

Set::Field< Set::Scalartemp_mf
 
Set::Field< Set::Scalartemp_old_mf
 
Set::Field< Set::Scalarphi_mf
 
Set::Field< Set::Scalarphi_old_mf
 
- Protected Attributes inherited from Integrator::Integrator
amrex::Vector< amrex::Real > t_new
 
amrex::Vector< int > istep
 
std::string plot_file { "plt" }
 
amrex::Real timestep = NAN
 
bool integrate_variables_before_advance = true
 
bool integrate_variables_after_advance = false
 
struct {
   int   number_of_fabs = 0
 
   std::vector< Set::Field< Set::Scalar > * >   fab_array
 
   std::vector< int >   ncomp_array
 
   std::vector< int >   nghost_array
 
   std::vector< std::string >   name_array
 
   std::vector< BC::BC< Set::Scalar > * >   physbc_array
 
   std::vector< bool >   writeout_array
 
   bool   any = true
 
   bool   all = false
 
node
 
struct {
   int   number_of_fabs = 0
 
   std::vector< Set::Field< Set::Scalar > * >   fab_array
 
   std::vector< int >   ncomp_array
 
   std::vector< int >   nghost_array
 
   std::vector< std::string >   name_array
 
   std::vector< BC::BC< Set::Scalar > * >   physbc_array
 
   std::vector< bool >   writeout_array
 
   bool   any = true
 
   bool   all = false
 
cell
 
std::vector< BaseField * > m_basefields
 
std::vector< BaseField * > m_basefields_cell
 
BC::Nothing bcnothing
 
struct {
   int   interval = -1
 
   Set::Scalar   dt = NAN
 
   int   plot_int = -1
 
   Set::Scalar   plot_dt = NAN
 
   int   number = 0
 
   std::vector< Set::Scalar * >   vars
 
   std::vector< std::string >   names
 
   std::vector< bool >   extensives
 
thermo
 
int regrid_int = -1
 
int base_regrid_int = -1
 
std::string restart_file_cell = ""
 
std::string restart_file_node = ""
 
struct {
   int   on = 0
 
   std::vector< amrex::Box >   box
 
explicitmesh
 
int abort_on_nan = true
 

Private Attributes

int number_of_components = 1
 
int number_of_ghost_cells = 1
 
Set::Scalar alpha
 
Set::Scalar delta
 
Set::Scalar gamma
 
Set::Scalar eps
 
Set::Scalar tau
 
Set::Scalar refinement_threshold_temp = NAN
 
Set::Scalar refinement_threshold_phi = NAN
 
IC::ICic_temp
 
IC::ICic_phi
 
BC::BC< Set::Scalar > * bc_temp
 
BC::BC< Set::Scalar > * bc_phi
 

Detailed Description

Definition at line 29 of file Dendrite.H.

Constructor & Destructor Documentation

◆ Dendrite() [1/2]

Integrator::Dendrite::Dendrite ( )
inline

Definition at line 33 of file Dendrite.H.

◆ Dendrite() [2/2]

Integrator::Dendrite::Dendrite ( IO::ParmParse pp)
inline

Definition at line 37 of file Dendrite.H.

Here is the call graph for this function:

Member Function Documentation

◆ Advance()

void Integrator::Dendrite::Advance ( int  lev,
Set::Scalar  ,
Set::Scalar  dt 
)
inlineprotectedvirtual

Implements Integrator::Integrator.

Definition at line 84 of file Dendrite.H.

Here is the call graph for this function:

◆ Initialize()

void Integrator::Dendrite::Initialize ( int  lev)
inlineprotectedvirtual

Implements Integrator::Integrator.

Definition at line 74 of file Dendrite.H.

Here is the call graph for this function:

◆ Parse()

static void Integrator::Dendrite::Parse ( Dendrite value,
IO::ParmParse pp 
)
inlinestatic

Definition at line 42 of file Dendrite.H.

Here is the call graph for this function:

◆ TagCellsForRefinement()

void Integrator::Dendrite::TagCellsForRefinement ( int  lev,
amrex::TagBoxArray &  a_tags,
Set::Scalar  ,
int   
)
inlineprotectedvirtual

Implements Integrator::Integrator.

Definition at line 149 of file Dendrite.H.

Here is the call graph for this function:

Field Documentation

◆ alpha

Set::Scalar Integrator::Dendrite::alpha
private

Definition at line 194 of file Dendrite.H.

◆ bc_phi

BC::BC<Set::Scalar> * Integrator::Dendrite::bc_phi
private

Definition at line 202 of file Dendrite.H.

◆ bc_temp

BC::BC<Set::Scalar>* Integrator::Dendrite::bc_temp
private

Definition at line 202 of file Dendrite.H.

◆ delta

Set::Scalar Integrator::Dendrite::delta
private

Definition at line 194 of file Dendrite.H.

◆ eps

Set::Scalar Integrator::Dendrite::eps
private

Definition at line 196 of file Dendrite.H.

◆ gamma

Set::Scalar Integrator::Dendrite::gamma
private

Definition at line 194 of file Dendrite.H.

◆ ic_phi

IC::IC * Integrator::Dendrite::ic_phi
private

Definition at line 201 of file Dendrite.H.

◆ ic_temp

IC::IC* Integrator::Dendrite::ic_temp
private

Definition at line 201 of file Dendrite.H.

◆ number_of_components

int Integrator::Dendrite::number_of_components = 1
private

Definition at line 189 of file Dendrite.H.

◆ number_of_ghost_cells

int Integrator::Dendrite::number_of_ghost_cells = 1
private

Definition at line 190 of file Dendrite.H.

◆ phi_mf

Set::Field<Set::Scalar> Integrator::Dendrite::phi_mf
protected

Definition at line 185 of file Dendrite.H.

◆ phi_old_mf

Set::Field<Set::Scalar> Integrator::Dendrite::phi_old_mf
protected

Definition at line 186 of file Dendrite.H.

◆ refinement_threshold_phi

Set::Scalar Integrator::Dendrite::refinement_threshold_phi = NAN
private

Definition at line 199 of file Dendrite.H.

◆ refinement_threshold_temp

Set::Scalar Integrator::Dendrite::refinement_threshold_temp = NAN
private

Definition at line 198 of file Dendrite.H.

◆ tau

Set::Scalar Integrator::Dendrite::tau
private

Definition at line 196 of file Dendrite.H.

◆ temp_mf

Set::Field<Set::Scalar> Integrator::Dendrite::temp_mf
protected

Definition at line 183 of file Dendrite.H.

◆ temp_old_mf

Set::Field<Set::Scalar> Integrator::Dendrite::temp_old_mf
protected

Definition at line 184 of file Dendrite.H.


The documentation for this class was generated from the following file: