Skip to content

Conversation

@huixingjian
Copy link
Contributor

@huixingjian huixingjian commented Dec 8, 2025

This PR add two options beams.do_uz_push and lasers_solver_type = disable that disable beam particle acceleration and laser evolution respectively. These features are regarded useful for non-linear beam matching with strong ion motion.

@huixingjian huixingjian changed the title [WIP]add flag to diable laser evolution [WIP]add flag to disable laser evolution Dec 8, 2025
@huixingjian huixingjian changed the title [WIP]add flag to disable laser evolution Add flag to disable laser evolution Dec 10, 2025
ux = ux_next;
uy = uy_next;
uz = uz_next;
if (do_uz_push) uz = uz_next;
Copy link
Member

Choose a reason for hiding this comment

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

During the pusher subcycles, the local value of uz will still be updated and used for ux, uy and gamma. Maybe this could lead to unexpected effects. Would it also work for your case to just set Ez to zero but still update uz using the B fields? I think this would be more self-consistent.

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