Skip to content

Enables empty contrast models for domains calculations#442

Merged
DrPaulSharp merged 1 commit into
RascalSoftware:masterfrom
DrPaulSharp:domains_bugfix
Jun 9, 2026
Merged

Enables empty contrast models for domains calculations#442
DrPaulSharp merged 1 commit into
RascalSoftware:masterfrom
DrPaulSharp:domains_bugfix

Conversation

@DrPaulSharp

Copy link
Copy Markdown
Collaborator

Following from #424, the PR enables RAT to run with contrasts containing empty models for domains calculations. As before this calculation is then the interface between two bulk phases. By definition, the domains have no effect on the calculation, since there are no domain-containing layers between the bulk phases. Hence, the two domain curves will always be identical in this case.

I have confirmed on testing that the results of a zero-layer calculation for the normal and domains calculation types are the same.

@DrPaulSharp DrPaulSharp requested a review from StephenNneji June 8, 2026 14:22

@StephenNneji StephenNneji left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks for fixing this, works as advertised.

@DrPaulSharp DrPaulSharp merged commit 86caba0 into RascalSoftware:master Jun 9, 2026
7 checks passed
@DrPaulSharp DrPaulSharp deleted the domains_bugfix branch June 9, 2026 09:13
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