|
adamantine
|
#include <CubeHeatSource.hh>
Public Member Functions | |
| CubeHeatSource (boost::property_tree::ptree const &source_database, boost::optional< boost::property_tree::ptree const & > const &units_optional_database) | |
| void | update_time (double time) final |
| double | value (dealii::Point< dim > const &point, double const) const final |
| dealii::VectorizedArray< double > | value (dealii::Point< dim, dealii::VectorizedArray< double >> const &points, dealii::VectorizedArray< double > const &) const final |
| double | get_current_height (double const time) const final |
| dealii::BoundingBox< dim > | get_bounding_box (double const time, double const scaling_factor) const final |
Public Member Functions inherited from adamantine::HeatSource< dim > | |
| HeatSource ()=default | |
| HeatSource (boost::property_tree::ptree const &beam_database, boost::optional< boost::property_tree::ptree const & > const &units_optional_database) | |
| virtual | ~HeatSource ()=default |
| virtual ScanPath & | get_scan_path () |
| virtual void | set_beam_properties (boost::property_tree::ptree const &database) |
Private Attributes | |
| bool | _source_on = false |
| double | _start_time |
| double | _end_time |
| double | _value |
| dealii::Point< dim > | _min_point |
| dealii::Point< dim > | _max_point |
Additional Inherited Members | |
Protected Attributes inherited from adamantine::HeatSource< dim > | |
| BeamHeatSourceProperties | _beam |
| ScanPath | _scan_path |
Cube heat source. This source does not represent a physical source, it is used for verification purpose.
Definition at line 17 of file CubeHeatSource.hh.
| adamantine::CubeHeatSource< dim >::CubeHeatSource | ( | boost::property_tree::ptree const & | source_database, |
| boost::optional< boost::property_tree::ptree const & > const & | units_optional_database | ||
| ) |
Constructor.
| [in] | source_database | requires the following entries:
|
| [in] | units_optional_database | may have the following entries:
|
Definition at line 12 of file CubeHeatSource.cc.
|
finalvirtual |
Return a scaled bounding box of the heat source at the given time.
Implements adamantine::HeatSource< dim >.
Definition at line 119 of file CubeHeatSource.cc.
|
finalvirtual |
Compute the current height of the where the heat source meets the material (i.e. the current scan path height).
Reimplemented from adamantine::HeatSource< dim >.
Definition at line 112 of file CubeHeatSource.cc.
|
finalvirtual |
Set the time variable.
Implements adamantine::HeatSource< dim >.
Definition at line 46 of file CubeHeatSource.cc.
|
finalvirtual |
Return the value of the source for a given point and time.
Implements adamantine::HeatSource< dim >.
Definition at line 52 of file CubeHeatSource.cc.
|
finalvirtual |
Same function as above but it uses vectorized data.
Implements adamantine::HeatSource< dim >.
Definition at line 75 of file CubeHeatSource.cc.
|
private |
Definition at line 70 of file CubeHeatSource.hh.
|
private |
Definition at line 73 of file CubeHeatSource.hh.
|
private |
Definition at line 72 of file CubeHeatSource.hh.
|
private |
Definition at line 68 of file CubeHeatSource.hh.
|
private |
Definition at line 69 of file CubeHeatSource.hh.
|
private |
Definition at line 71 of file CubeHeatSource.hh.