SimulationCaseBase< dim, number, spacedim > Class Template Reference

Developer Documentation: MeltPoolDG::SimulationCaseBase< dim, number, spacedim > Class Template Reference
Developer Documentation
MeltPoolDG::SimulationCaseBase< dim, number, spacedim > Class Template Referenceabstract

Base class for managing a simulation case in a parallel computing environment. More...

#include <simulation_case_base.hpp>

Inheritance diagram for MeltPoolDG::SimulationCaseBase< dim, number, spacedim >:
[legend]

Public Member Functions

virtual ~SimulationCaseBase ()=default
 
 SimulationCaseBase (const std::string &parameter_file_in, MPI_Comm mpi_communicator_in)
 
void create ()
 Main setup function to initialize the simulation.
 
std::map< dealii::types::boundary_id, std::shared_ptr< dealii::Function< dim > > > get_boundary_condition (const std::string &type, const std::string &operation_name, const bool is_optional=true) const
 Retrieve boundary conditions of a specific type for an operation.
 
std::shared_ptr< BoundaryConditionManager< dim, number > > get_boundary_condition_manager (const std::string &operation_name, const bool is_optional=true) const
 Retrieve the boundary condition object for a specific operation.
 
std::string get_boundary_condition_type (dealii::types::boundary_id boundary_id, const std::string &operation_name) const
 Retrieve the type of a boundary condition for a specific boundary ID and operation.
 
void set_time_boundary_conditions (const number time)
 Update the time for all boundary conditions.
 
std::shared_ptr< dealii::Function< dim > > get_field_function (const std::string &type, const std::string &operation_name, const bool is_optional=false)
 
std::shared_ptr< dealii::Function< dim > > get_initial_condition (const std::string &operation_name, const bool is_optional=false)
 Retrieve the initial condition for a given operation.
 
const PeriodicBoundaryConditions< dim > & get_periodic_bc () const
 Get the periodic boundary condition manager.
 
virtual void do_postprocessing (const GenericDataOut< dim, number > &generic_data_out) const
 Perform specific postprocessing (can be overridden by derived classes).
 

Public Attributes

std::shared_ptr< dealii::Triangulation< dim, spacedim > > triangulation
 
const std::string parameter_file
 
const MPI_Comm mpi_communicator
 

Protected Member Functions

virtual void create_spatial_discretization ()=0
 Pure virtual function to create the spatial discretization.
 
virtual void set_boundary_conditions ()=0
 Pure virtual function to set the boundary conditions.
 
virtual void set_field_conditions ()=0
 Pure virtual function to set the field conditions.
 
virtual bool add_case_specific_parameters (dealii::ParameterHandler &)
 Add simulation-specific parameters (can be overridden).
 
void attach_field_function (std::shared_ptr< dealii::Function< dim > > function, const std::string &type, const std::string &operation_name)
 
void attach_initial_condition (std::shared_ptr< dealii::Function< dim > > initial_function, const std::string &operation_name)
 
void attach_boundary_condition (std::pair< const dealii::types::boundary_id, const std::shared_ptr< dealii::Function< dim > > > id_and_function, const std::string &type, const std::string &operation_name)
 Attach a boundary condition for a specific operation.
 
void attach_boundary_condition (const dealii::types::boundary_id id, const std::string &type, const std::string &operation_name)
 Attach a boundary condition with a dummy function for a specific operation.
 
void attach_periodic_boundary_condition (const dealii::types::boundary_id id_in, const dealii::types::boundary_id id_out, const int direction)
 

Private Member Functions

void parse_simulation_specific_parameters ()
 Parses simulation-specific parameters.
 

Private Attributes

PeriodicBoundaryConditions< dim > periodic_boundary_conditions
 
std::map< std::string, std::map< std::string, std::shared_ptr< dealii::Function< dim > > > > field_functions
 
std::map< std::string, std::shared_ptr< BoundaryConditionManager< dim, number > > > boundary_conditions_map
 

Detailed Description

template<int dim, typename number, int spacedim = dim>
class MeltPoolDG::SimulationCaseBase< dim, number, spacedim >

Base class for managing a simulation case in a parallel computing environment.

This class handles the setup and management of boundary conditions, field functions, and spatial discretization in a parallel environment using MPI. It is intended to be extended by more specific simulation classes.

Template Parameters
dimSpatial dimension.
PParameter object type.
spacedimSpace dimension.

Constructor & Destructor Documentation

◆ ~SimulationCaseBase()

template<int dim, typename number , int spacedim = dim>
virtual MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::~SimulationCaseBase ( )
virtualdefault

◆ SimulationCaseBase()

template<int dim, typename number , int spacedim = dim>
MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::SimulationCaseBase ( const std::string &  parameter_file_in,
MPI_Comm  mpi_communicator_in 
)
inline

Member Function Documentation

◆ add_case_specific_parameters()

template<int dim, typename number , int spacedim = dim>
virtual bool MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::add_case_specific_parameters ( dealii::ParameterHandler &  )
inlineprotectedvirtual

Add simulation-specific parameters (can be overridden).

This function can be overridden in derived classes to add custom simulation parameters to the handler. The return value can be used to print the parameters to the terminal output.

Parameters
prmParameterHandler object to which parameters can be added.

Reimplemented in MeltPoolDG::Simulation::WallWetting::SimulationWallWetting< dim, number >, MeltPoolDG::Simulation::AdvectionDiffusion::SimulationAdvec< dim, number >, MeltPoolDG::Simulation::AdvectionDiffusionDG::SimulationAdvecDG< dim, number >, MeltPoolDG::Simulation::FixedMeltPool::SimulationFixedMeltPool< dim, number >, MeltPoolDG::Simulation::UnidirectionalHeatTransfer::SimulationUnidirectionalHeatTransfer< dim, number >, MeltPoolDG::Simulation::VortexBubble::SimulationVortexBubble< dim, number >, MeltPoolDG::Simulation::VortexBubbleDG::SimulationVortexBubbleDG< dim, number >, MeltPoolDG::Simulation::EvaporatingDroplet::SimulationEvaporatingDroplet< dim, number >, MeltPoolDG::Simulation::EvaporatingShell::SimulationEvaporatingShell< dim, number >, MeltPoolDG::Simulation::FilmBoiling::SimulationFilmBoiling< dim, number >, MeltPoolDG::Simulation::MovingDroplet::SimulationMovingDroplet< dim, number >, MeltPoolDG::Simulation::OscillatingDroplet::SimulationOscillatingDroplet< dim, number >, MeltPoolDG::Simulation::RecoilPressure::SimulationRecoilPressure< dim, number >, MeltPoolDG::Simulation::SpuriousCurrents::SimulationSpuriousCurrents< dim, number >, MeltPoolDG::Simulation::StefansProblem1WithFlowAndHeat::SimulationStefansProblem1WithFlowAndHeat< dim, number >, MeltPoolDG::Simulation::ThermoCapillaryDroplet::SimulationThermoCapillaryDroplet< dim, number >, MeltPoolDG::Simulation::PowderParticles::SimulationPowderParticles< dim, number >, and MeltPoolDG::Simulation::ReinitCircle::SimulationReinit< dim, number >.

◆ attach_boundary_condition() [1/2]

template<int dim, typename number , int spacedim = dim>
void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::attach_boundary_condition ( const dealii::types::boundary_id  id,
const std::string &  type,
const std::string &  operation_name 
)
inlineprotected

Attach a boundary condition with a dummy function for a specific operation.

This overload simplifies attaching a boundary condition by omitting the function. A placeholder function is used internally.

Parameters
idThe boundary ID to be associated with the condition.
typeThe type of the boundary condition.
operation_nameThe name of the operation for which the boundary condition is being attached.

◆ attach_boundary_condition() [2/2]

template<int dim, typename number , int spacedim = dim>
void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::attach_boundary_condition ( std::pair< const dealii::types::boundary_id, const std::shared_ptr< dealii::Function< dim > > >  id_and_function,
const std::string &  type,
const std::string &  operation_name 
)
inlineprotected

Attach a boundary condition for a specific operation.

This method associates a boundary condition, specified by its ID and function, with a given operation name. If the operation has no associated boundary conditions yet, a new boundary condition object is created.

Parameters
id_and_functionA pair consisting of a boundary ID and a shared pointer to the boundary function.
typeThe type of the boundary condition (e.g., Dirichlet, Neumann, etc.).
operation_nameThe name of the operation for which the boundary condition is being attached.

◆ attach_field_function()

template<int dim, typename number , int spacedim = dim>
void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::attach_field_function ( std::shared_ptr< dealii::Function< dim > >  function,
const std::string &  type,
const std::string &  operation_name 
)
inlineprotected

Attaches a field function with a specified type and operation name.

This function stores a provided field function in an internal dictionary, allowing it to be later retrieved by a combination of its type and operation_name. The type typically represents the category of the field function (e.g., "prescribed_velocity"), while operation_name indicates the specific operation or context to which the function applies (e.g., "heat" or "level_set").

By using this function, various field functions can be organized and managed for different types and operations, enabling efficient lookup and reuse.

Template Parameters
FunctionTypeThe type of the field function being attached, typically a derived class of dealii::Function<dim>.
Parameters
functionA std::shared_ptr to the field function object that should be associated with the specified type and operation_name.
typeA string representing the field function category (e.g., "prescribed_velocity").
operation_nameA string specifying the operation or context where this field function is applicable (e.g., "level_set").

◆ attach_initial_condition()

template<int dim, typename number , int spacedim = dim>
void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::attach_initial_condition ( std::shared_ptr< dealii::Function< dim > >  initial_function,
const std::string &  operation_name 
)
inlineprotected

Overload function to attach initial conditions. See documentation of attach_field_function.

◆ attach_periodic_boundary_condition()

template<int dim, typename number , int spacedim = dim>
void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::attach_periodic_boundary_condition ( const dealii::types::boundary_id  id_in,
const dealii::types::boundary_id  id_out,
const int  direction 
)
inlineprotected

Attach periodic boundary condition.

Parameters
directionrefers to the space direction in which periodicity is enforced. When matching periodic faces this vector component is ignored.

◆ create()

template<int dim, typename number , int spacedim = dim>
void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::create ( )
inline

Main setup function to initialize the simulation.

This function should be called after the constructor is called and the parameters are parsed. Then, the spatial discretization, boundary conditions, and field functions are created, which may depend on the input parameters.

◆ create_spatial_discretization()

template<int dim, typename number , int spacedim = dim>
virtual void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::create_spatial_discretization ( )
protectedpure virtual

Pure virtual function to create the spatial discretization.

Derived classes must implement this function to define how the spatial discretization is created.

Implemented in MeltPoolDG::Simulation::WallWetting::SimulationWallWetting< dim, number >, MeltPoolDG::Simulation::AdvectionDiffusion::SimulationAdvec< dim, number >, MeltPoolDG::Simulation::AdvectionDiffusionDG::SimulationAdvecDG< dim, number >, MeltPoolDG::Simulation::FixedMeltPool::SimulationFixedMeltPool< dim, number >, MeltPoolDG::Simulation::SolidificationSlab::SimulationSolidificationSlab< dim, number >, MeltPoolDG::Simulation::UnidirectionalHeatTransfer::SimulationUnidirectionalHeatTransfer< dim, number >, MeltPoolDG::Simulation::RotatingBubble::SimulationRotatingBubble< dim, number >, MeltPoolDG::Simulation::StefansProblem::SimulationStefansProblem< dim, number >, MeltPoolDG::Simulation::VortexBubble::SimulationVortexBubble< dim, number >, MeltPoolDG::Simulation::VortexBubbleDG::SimulationVortexBubbleDG< dim, number >, MeltPoolDG::Simulation::ZalesakDisk::SimulationZalesakDisk< dim, number >, MeltPoolDG::Simulation::EvaporatingDroplet::SimulationEvaporatingDroplet< dim, number >, MeltPoolDG::Simulation::EvaporatingDropletWithHeat::SimulationEvaporatingDropletWithHeat< dim, number >, MeltPoolDG::Simulation::EvaporatingShell::SimulationEvaporatingShell< dim, number >, MeltPoolDG::Simulation::FilmBoiling::SimulationFilmBoiling< dim, number >, MeltPoolDG::Simulation::FlowPastCylinder::SimulationFlowPastCylinder< dim, number >, MeltPoolDG::Simulation::MovingDroplet::SimulationMovingDroplet< dim, number >, MeltPoolDG::Simulation::OscillatingDroplet::SimulationOscillatingDroplet< dim, number >, MeltPoolDG::Simulation::RecoilPressure::SimulationRecoilPressure< dim, number >, MeltPoolDG::Simulation::RisingBubble::SimulationRisingBubble< dim, number >, MeltPoolDG::Simulation::SpuriousCurrents::SimulationSpuriousCurrents< dim, number >, MeltPoolDG::Simulation::StefansProblem1WithFlowAndHeat::SimulationStefansProblem1WithFlowAndHeat< dim, number >, MeltPoolDG::Simulation::StefansProblem2WithFlowAndHeat::SimulationStefansProblem2WithFlowAndHeat< dim, number >, MeltPoolDG::Simulation::StefansProblemWithFlow::SimulationStefansProblemWithFlow< dim, number >, MeltPoolDG::Simulation::ThermoCapillaryDroplet::SimulationThermoCapillaryDroplet< dim, number >, MeltPoolDG::Simulation::ThermoCapillaryTwoDroplets::SimulationThermoCapillaryTwoDroplets< dim, number >, MeltPoolDG::Simulation::PowderParticles::SimulationPowderParticles< dim, number >, MeltPoolDG::Simulation::ReinitCircle::SimulationReinit< dim, number >, and MeltPoolDG::Simulation::ReinitCircleDG::SimulationReinitDG< dim, number >.

◆ do_postprocessing()

template<int dim, typename number , int spacedim = dim>
virtual void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::do_postprocessing ( const GenericDataOut< dim, number > &  generic_data_out) const
inlinevirtual

◆ get_boundary_condition()

template<int dim, typename number , int spacedim = dim>
std::map< dealii::types::boundary_id, std::shared_ptr< dealii::Function< dim > > > MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::get_boundary_condition ( const std::string &  type,
const std::string &  operation_name,
const bool  is_optional = true 
) const
inline

Retrieve boundary conditions of a specific type for an operation.

Parameters
typeThe type of the boundary condition to retrieve.
operation_nameThe name of the operation whose boundary conditions are requested.
is_optionalA flag indicating whether the bc is optional. Defaults to true, requiring the bc not to be present.
Returns
A map of boundary IDs to their corresponding boundary functions.
Exceptions
dealii::ExcMessageIf no boundary conditions are found for the specified operation.

◆ get_boundary_condition_manager()

template<int dim, typename number , int spacedim = dim>
std::shared_ptr< BoundaryConditionManager< dim, number > > MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::get_boundary_condition_manager ( const std::string &  operation_name,
const bool  is_optional = true 
) const
inline

Retrieve the boundary condition object for a specific operation.

Parameters
operation_nameThe name of the operation whose boundary condition object is requested.
Returns
A shared pointer to the BoundaryConditions object for the operation.
Exceptions
dealii::ExcMessageIf no boundary conditions are found for the specified operation.

◆ get_boundary_condition_type()

template<int dim, typename number , int spacedim = dim>
std::string MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::get_boundary_condition_type ( dealii::types::boundary_id  boundary_id,
const std::string &  operation_name 
) const
inline

Retrieve the type of a boundary condition for a specific boundary ID and operation.

Parameters
boundary_idThe boundary ID for which the type is requested.
operation_nameThe name of the operation associated with the boundary condition.
Returns
The type of the boundary condition as a string.
Exceptions
dealii::ExcMessageIf no boundary conditions are found for the specified operation.

◆ get_field_function()

template<int dim, typename number , int spacedim = dim>
std::shared_ptr< dealii::Function< dim > > MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::get_field_function ( const std::string &  type,
const std::string &  operation_name,
const bool  is_optional = false 
)
inline

Getter functions for field function of type for operation_name. If the field function for the specified type and operation_name cannot be found, behavior depends on the value of is_optional:

  • If is_optional is set to true, the function will return a nullptr to indicate that the field function is not required and can be omitted.
  • If is_optional is false, an exception may be thrown to indicate that the requested field function is missing.
Parameters
typeThe category of the field function (e.g., "temperature", "velocity").
operation_nameThe name of the operation or context where the field function is used (e.g., "initial_condition", "boundary_condition").
is_optionalA flag indicating whether the field function is optional. Defaults to false, requiring the field function to be present.

◆ get_initial_condition()

template<int dim, typename number , int spacedim = dim>
std::shared_ptr< dealii::Function< dim > > MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::get_initial_condition ( const std::string &  operation_name,
const bool  is_optional = false 
)
inline

Retrieve the initial condition for a given operation.

Parameters
operation_nameThe operation name for which the initial condition is requested.
is_optionalFlag indicating if the initial condition is optional.
Returns
A shared pointer to the initial condition function.

◆ get_periodic_bc()

template<int dim, typename number , int spacedim = dim>
const PeriodicBoundaryConditions< dim > & MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::get_periodic_bc ( ) const
inline

Get the periodic boundary condition manager.

Returns
The periodic boundary condition manager.

◆ parse_simulation_specific_parameters()

template<int dim, typename number , int spacedim = dim>
void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::parse_simulation_specific_parameters ( )
inlineprivate

Parses simulation-specific parameters.

◆ set_boundary_conditions()

template<int dim, typename number , int spacedim = dim>
virtual void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::set_boundary_conditions ( )
protectedpure virtual

Pure virtual function to set the boundary conditions.

Derived classes must implement this function to define how boundary conditions are set.

Implemented in MeltPoolDG::Simulation::AdvectionDiffusion::SimulationAdvec< dim, number >, MeltPoolDG::Simulation::AdvectionDiffusionDG::SimulationAdvecDG< dim, number >, MeltPoolDG::Simulation::SolidificationSlab::SimulationSolidificationSlab< dim, number >, MeltPoolDG::Simulation::UnidirectionalHeatTransfer::SimulationUnidirectionalHeatTransfer< dim, number >, MeltPoolDG::Simulation::StefansProblem::SimulationStefansProblem< dim, number >, MeltPoolDG::Simulation::FilmBoiling::SimulationFilmBoiling< dim, number >, MeltPoolDG::Simulation::MovingDroplet::SimulationMovingDroplet< dim, number >, MeltPoolDG::Simulation::OscillatingDroplet::SimulationOscillatingDroplet< dim, number >, MeltPoolDG::Simulation::StefansProblem1WithFlowAndHeat::SimulationStefansProblem1WithFlowAndHeat< dim, number >, MeltPoolDG::Simulation::StefansProblem2WithFlowAndHeat::SimulationStefansProblem2WithFlowAndHeat< dim, number >, MeltPoolDG::Simulation::StefansProblemWithFlow::SimulationStefansProblemWithFlow< dim, number >, MeltPoolDG::Simulation::ThermoCapillaryDroplet::SimulationThermoCapillaryDroplet< dim, number >, MeltPoolDG::Simulation::ThermoCapillaryTwoDroplets::SimulationThermoCapillaryTwoDroplets< dim, number >, MeltPoolDG::Simulation::WallWetting::SimulationWallWetting< dim, number >, MeltPoolDG::Simulation::FixedMeltPool::SimulationFixedMeltPool< dim, number >, MeltPoolDG::Simulation::RotatingBubble::SimulationRotatingBubble< dim, number >, MeltPoolDG::Simulation::VortexBubble::SimulationVortexBubble< dim, number >, MeltPoolDG::Simulation::VortexBubbleDG::SimulationVortexBubbleDG< dim, number >, MeltPoolDG::Simulation::ZalesakDisk::SimulationZalesakDisk< dim, number >, MeltPoolDG::Simulation::EvaporatingDroplet::SimulationEvaporatingDroplet< dim, number >, MeltPoolDG::Simulation::EvaporatingDropletWithHeat::SimulationEvaporatingDropletWithHeat< dim, number >, MeltPoolDG::Simulation::EvaporatingShell::SimulationEvaporatingShell< dim, number >, MeltPoolDG::Simulation::FlowPastCylinder::SimulationFlowPastCylinder< dim, number >, MeltPoolDG::Simulation::RecoilPressure::SimulationRecoilPressure< dim, number >, MeltPoolDG::Simulation::RisingBubble::SimulationRisingBubble< dim, number >, MeltPoolDG::Simulation::SpuriousCurrents::SimulationSpuriousCurrents< dim, number >, MeltPoolDG::Simulation::PowderParticles::SimulationPowderParticles< dim, number >, MeltPoolDG::Simulation::ReinitCircle::SimulationReinit< dim, number >, and MeltPoolDG::Simulation::ReinitCircleDG::SimulationReinitDG< dim, number >.

◆ set_field_conditions()

template<int dim, typename number , int spacedim = dim>
virtual void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::set_field_conditions ( )
protectedpure virtual

Pure virtual function to set the field conditions.

Derived classes must implement this function to define how field conditions are set.

Implemented in MeltPoolDG::Simulation::AdvectionDiffusion::SimulationAdvec< dim, number >, MeltPoolDG::Simulation::AdvectionDiffusionDG::SimulationAdvecDG< dim, number >, MeltPoolDG::Simulation::SolidificationSlab::SimulationSolidificationSlab< dim, number >, MeltPoolDG::Simulation::UnidirectionalHeatTransfer::SimulationUnidirectionalHeatTransfer< dim, number >, MeltPoolDG::Simulation::StefansProblem::SimulationStefansProblem< dim, number >, MeltPoolDG::Simulation::FilmBoiling::SimulationFilmBoiling< dim, number >, MeltPoolDG::Simulation::MovingDroplet::SimulationMovingDroplet< dim, number >, MeltPoolDG::Simulation::OscillatingDroplet::SimulationOscillatingDroplet< dim, number >, MeltPoolDG::Simulation::StefansProblem1WithFlowAndHeat::SimulationStefansProblem1WithFlowAndHeat< dim, number >, MeltPoolDG::Simulation::StefansProblem2WithFlowAndHeat::SimulationStefansProblem2WithFlowAndHeat< dim, number >, MeltPoolDG::Simulation::StefansProblemWithFlow::SimulationStefansProblemWithFlow< dim, number >, MeltPoolDG::Simulation::ThermoCapillaryDroplet::SimulationThermoCapillaryDroplet< dim, number >, MeltPoolDG::Simulation::ThermoCapillaryTwoDroplets::SimulationThermoCapillaryTwoDroplets< dim, number >, MeltPoolDG::Simulation::WallWetting::SimulationWallWetting< dim, number >, MeltPoolDG::Simulation::FixedMeltPool::SimulationFixedMeltPool< dim, number >, MeltPoolDG::Simulation::RotatingBubble::SimulationRotatingBubble< dim, number >, MeltPoolDG::Simulation::VortexBubble::SimulationVortexBubble< dim, number >, MeltPoolDG::Simulation::VortexBubbleDG::SimulationVortexBubbleDG< dim, number >, MeltPoolDG::Simulation::ZalesakDisk::SimulationZalesakDisk< dim, number >, MeltPoolDG::Simulation::EvaporatingDroplet::SimulationEvaporatingDroplet< dim, number >, MeltPoolDG::Simulation::EvaporatingDropletWithHeat::SimulationEvaporatingDropletWithHeat< dim, number >, MeltPoolDG::Simulation::EvaporatingShell::SimulationEvaporatingShell< dim, number >, MeltPoolDG::Simulation::FlowPastCylinder::SimulationFlowPastCylinder< dim, number >, MeltPoolDG::Simulation::RecoilPressure::SimulationRecoilPressure< dim, number >, MeltPoolDG::Simulation::RisingBubble::SimulationRisingBubble< dim, number >, MeltPoolDG::Simulation::SpuriousCurrents::SimulationSpuriousCurrents< dim, number >, MeltPoolDG::Simulation::PowderParticles::SimulationPowderParticles< dim, number >, MeltPoolDG::Simulation::ReinitCircle::SimulationReinit< dim, number >, and MeltPoolDG::Simulation::ReinitCircleDG::SimulationReinitDG< dim, number >.

◆ set_time_boundary_conditions()

template<int dim, typename number , int spacedim = dim>
void MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::set_time_boundary_conditions ( const number  time)
inline

Update the time for all boundary conditions.

Sets the current time for all boundary conditions managed by this class.

Parameters
timeThe current simulation time.

Member Data Documentation

◆ boundary_conditions_map

template<int dim, typename number , int spacedim = dim>
std::map<std::string, std::shared_ptr<BoundaryConditionManager<dim, number> > > MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::boundary_conditions_map
private

◆ field_functions

template<int dim, typename number , int spacedim = dim>
std::map<std::string, std::map<std::string, std::shared_ptr<dealii::Function<dim> > > > MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::field_functions
private

◆ mpi_communicator

template<int dim, typename number , int spacedim = dim>
const MPI_Comm MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::mpi_communicator

◆ parameter_file

template<int dim, typename number , int spacedim = dim>
const std::string MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::parameter_file

◆ periodic_boundary_conditions

template<int dim, typename number , int spacedim = dim>
PeriodicBoundaryConditions<dim> MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::periodic_boundary_conditions
private

◆ triangulation

template<int dim, typename number , int spacedim = dim>
std::shared_ptr<dealii::Triangulation<dim, spacedim> > MeltPoolDG::SimulationCaseBase< dim, number, spacedim >::triangulation

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