Skip to content

WIP: framework for gaussian heat source#414

Open
colemanjs wants to merge 9 commits intoadamantine-sim:masterfrom
colemanjs:gaussian-heat-source
Open

WIP: framework for gaussian heat source#414
colemanjs wants to merge 9 commits intoadamantine-sim:masterfrom
colemanjs:gaussian-heat-source

Conversation

@colemanjs
Copy link
Copy Markdown
Contributor

Candidate branch for implementing gaussian heat source

Comment thread source/MaterialProperty.hh Outdated
@colemanjs colemanjs force-pushed the gaussian-heat-source branch from 86b11a5 to 3cf1ef6 Compare November 17, 2025 15:54
@colemanjs
Copy link
Copy Markdown
Contributor Author

@Rombur, just a note that this implementation is a work in progress for the definition of the heat source for HPC4. Based on the calibration results, this may change to a super-gaussian with a slightly different mathematical form. Once validation is complete, I can mark this ready for review

@Rombur
Copy link
Copy Markdown
Member

Rombur commented Nov 17, 2025

Sounds good

@colemanjs colemanjs marked this pull request as ready for review December 29, 2025 18:39
@colemanjs colemanjs force-pushed the gaussian-heat-source branch from 89bb6d2 to 3d74514 Compare April 17, 2026 17:19
Copy link
Copy Markdown
Member

@Rombur Rombur left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This looks OK but it needs a test

Comment thread source/GaussianHeatSource.cc Outdated
Comment thread source/GaussianHeatSource.hh Outdated
: HeatSource<dim>(beam_database, units_optional_database),
_five_axis(this->_scan_path.is_five_axis())
{
_A = beam_database.get<double>("A");
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

When you read an input from the property tree, add a comment like:

// PropertyTreeInput sources.beam_X.A

I use that to grep the code and make sure that the documentation is up-to-date

get_bounding_box(double time, double const scaling_factor) const final;

private:
double _A;
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you add a comment here. I have no idea what are A and B

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants