Skip to content

User source terms#138

Open
adamdempsey90 wants to merge 2 commits into
developfrom
dempsey/user
Open

User source terms#138
adamdempsey90 wants to merge 2 commits into
developfrom
dempsey/user

Conversation

@adamdempsey90

Copy link
Copy Markdown
Collaborator

Background

This adds a simple mechanism for enrolling "user" source tasks into the driver. Disk wave-killing was added as an example.

This supersedes #114

Description of Changes

Checklist

  • New features are documented
  • Tests added for bug fixes and new features
  • (@lanl.gov employees) Update copyright on changed files
  • Any contribution that was created or modified with the assistance of generative AI must have a comment disclosing this such as // This file was created in part or in whole by generative AI

… disk pgen as an example. This could be expanded to other registries for tasks in different parts of the operator split in the future
@adamdempsey90
adamdempsey90 requested a review from pdmullen July 23, 2026 15:11
Comment thread src/artemis_driver.cpp
// Apply problem-generator source terms in registration order
TaskID user_src = rframe_src;
for (const auto &task : GetUserSourceTasks()) {
user_src = tl.AddTask(user_src, task.name, task.function, u0.get(), time, bdt);

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

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

I didn't know you could pass names to tasks

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.

1 participant