Skip to content

Commit 89bb6d2

Browse files
committed
fixup: add to thermal physics check
1 parent 4e0f681 commit 89bb6d2

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

source/ThermalPhysics.templates.hh

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
#ifndef THERMAL_PHYSICS_TEMPLATES_HH
66
#define THERMAL_PHYSICS_TEMPLATES_HH
77

8+
#include <GaussianHeatSource.hh>
89
#include <CubeHeatSource.hh>
910
#include <ElectronBeamHeatSource.hh>
1011
#include <GoldakHeatSource.hh>
@@ -322,6 +323,11 @@ ThermalPhysics<dim, p_order, fe_degree, MaterialStates, MemorySpaceType,
322323
_heat_sources[i] = std::make_shared<CubeHeatSource<dim>>(
323324
beam_database, units_optional_database);
324325
}
326+
else if (type == "gaussian")
327+
{
328+
_heat_sources[i] = std::make_shared<GaussianHeatSource<dim>>(
329+
beam_database, units_optional_database);
330+
}
325331
else
326332
{
327333
ASSERT_THROW(false, "Beam type '" +

0 commit comments

Comments
 (0)