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

Public Member Functions

 ThermoElastic ()
 
 ThermoElastic (IO::ParmParse &pp)
 
- Public Member Functions inherited from Integrator::HeatConduction
 HeatConduction (int a_nghost=2)
 
 HeatConduction (IO::ParmParse &pp)
 
virtual ~HeatConduction ()
 
- 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)
 
- Public Member Functions inherited from Integrator::Mechanics< Model::Solid::Affine::Isotropic >
 Mechanics ()
 
 Mechanics (IO::ParmParse &pp)
 
void Initialize (int lev) override
 
void TagCellsForRefinement (int lev, amrex::TagBoxArray &a_tags, Set::Scalar a_time, int a_ngrow) override
 
void Regrid (int lev, Set::Scalar time) override
 
- Public Member Functions inherited from Integrator::Base::Mechanics< Model::Solid::Affine::Isotropic >
 Mechanics ()
 

Static Public Member Functions

static void Parse (ThermoElastic &value, IO::ParmParse &pp)
 
- Static Public Member Functions inherited from Integrator::HeatConduction
static void Parse (HeatConduction &value, IO::ParmParse &pp)
 
- Static Public Member Functions inherited from Integrator::Mechanics< Model::Solid::Affine::Isotropic >
static void Parse (Mechanics &value, IO::ParmParse &pp)
 
- Static Public Member Functions inherited from Integrator::Base::Mechanics< Model::Solid::Affine::Isotropic >
static void Parse (Mechanics &value, IO::ParmParse &pp)
 

Protected Member Functions

void Initialize (int lev) override
 
void UpdateModel (int a_step, Set::Scalar a_time) override
 
void TimeStepBegin (Set::Scalar a_time, int a_step) override
 
void Advance (int a_lev, amrex::Real a_time, amrex::Real a_dt) override
 
void TagCellsForRefinement (int a_lev, amrex::TagBoxArray &a_tags, Set::Scalar a_time, int a_ngrow) override
 
- Protected Member Functions inherited from Integrator::Integrator
virtual void TimeStepComplete (Set::Scalar, int)
 
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 Member Functions inherited from Integrator::Base::Mechanics< Model::Solid::Affine::Isotropic >
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
 

Protected Attributes

std::vector< Set::Scalaralpha
 
- Protected Attributes inherited from Integrator::HeatConduction
Set::Field< Set::Scalartemp_mf
 
Set::Field< Set::Scalartemp_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
 
- Protected Attributes inherited from Integrator::Mechanics< Model::Solid::Affine::Isotropic >
Set::Field< Set::Scalareta_mf
 
Set::Scalar m_eta_ref_threshold
 
std::vector< Model::Solid::Affine::Isotropicmodels
 
IC::ICic_eta
 
IC::ICic_psi
 
IC::ICic_trac_normal
 
BC::BC< Set::Scalar > * bc_psi
 
BC::BC< Set::Scalar > * bc_trac_normal
 
bool psi_reset_on_regrid
 
bool eta_reset_on_regrid
 
bool model_neumann_boundary
 
Set::Field< Set::Scalartrac_normal_mf
 
- Protected Attributes inherited from Integrator::Base::Mechanics< Model::Solid::Affine::Isotropic >
Set::Field< Model::Solid::Affine::Isotropicmodel_mf
 
Set::Field< MATRIX4ddw_mf
 
Set::Field< Set::Scalarpsi_mf
 
bool psi_on
 
int m_interval
 
Type m_type
 
Set::Field< Set::Vectordisp_mf
 
Set::Field< Set::Vectorrhs_mf
 
Set::Field< Set::Vectorres_mf
 
Set::Field< Set::Matrixstress_mf
 
Set::Field< Set::Matrixstrain_mf
 
Set::Field< Set::Vectordisp_old_mf
 
Set::Field< Set::Vectorvel_mf
 
Set::Field< Set::Vectorvel_old_mf
 
Set::Scalar rho
 
Set::Scalar mu_dashpot
 
Set::Scalar mu_newton
 
Set::Vector trac_hi [AMREX_SPACEDIM]
 
Set::Vector disp_hi [AMREX_SPACEDIM]
 
IC::ICic_rhs
 
BC::BC< Set::Scalar > * mybc
 
IC::ICvelocity_ic
 
Solver::Nonlocal::Newton< Model::Solid::Affine::Isotropicsolver
 
BC::Operator::Elastic::Elasticbc
 
Set::Scalar m_elastic_ref_threshold
 
bool m_print_model
 
bool m_print_residual
 
bool m_time_evolving
 
int m_max_coarsening_level
 
bool m_zero_out_displacement
 
bool plot_disp
 
bool plot_stress
 
bool plot_strain
 
bool plot_psi
 
bool plot_rhs
 
Set::Scalar tstart
 

Additional Inherited Members

- Public Types inherited from Integrator::Base::Mechanics< Model::Solid::Affine::Isotropic >
enum  Type
 
- Protected Types inherited from Integrator::Base::Mechanics< Model::Solid::Affine::Isotropic >
typedef Set::Matrix4< AMREX_SPACEDIM, Model::Solid::Affine::Isotropic ::sym > MATRIX4
 

Detailed Description

Definition at line 11 of file ThermoElastic.H.

Constructor & Destructor Documentation

◆ ThermoElastic() [1/2]

Integrator::ThermoElastic::ThermoElastic ( )
inline

Definition at line 16 of file ThermoElastic.H.

◆ ThermoElastic() [2/2]

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

Definition at line 20 of file ThermoElastic.H.

Here is the call graph for this function:

Member Function Documentation

◆ Advance()

void Integrator::ThermoElastic::Advance ( int  a_lev,
amrex::Real  a_time,
amrex::Real  a_dt 
)
inlineoverrideprotectedvirtual

Reimplemented from Integrator::HeatConduction.

Definition at line 74 of file ThermoElastic.H.

Here is the call graph for this function:

◆ Initialize()

void Integrator::ThermoElastic::Initialize ( int  lev)
inlineoverrideprotectedvirtual

Reimplemented from Integrator::HeatConduction.

Definition at line 31 of file ThermoElastic.H.

Here is the call graph for this function:

◆ Parse()

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

Definition at line 22 of file ThermoElastic.H.

◆ TagCellsForRefinement()

void Integrator::ThermoElastic::TagCellsForRefinement ( int  a_lev,
amrex::TagBoxArray &  a_tags,
Set::Scalar  a_time,
int  a_ngrow 
)
inlineoverrideprotectedvirtual

Reimplemented from Integrator::HeatConduction.

Definition at line 80 of file ThermoElastic.H.

Here is the call graph for this function:

◆ TimeStepBegin()

void Integrator::ThermoElastic::TimeStepBegin ( Set::Scalar  a_time,
int  a_step 
)
inlineoverrideprotectedvirtual

Reimplemented from Integrator::Integrator.

Definition at line 68 of file ThermoElastic.H.

Here is the call graph for this function:

◆ UpdateModel()

void Integrator::ThermoElastic::UpdateModel ( int  a_step,
Set::Scalar  a_time 
)
inlineoverrideprotectedvirtual

Reimplemented from Integrator::Mechanics< Model::Solid::Affine::Isotropic >.

Definition at line 37 of file ThermoElastic.H.

Here is the call graph for this function:

Field Documentation

◆ alpha

std::vector<Set::Scalar> Integrator::ThermoElastic::alpha
protected

Definition at line 86 of file ThermoElastic.H.


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