Skip to content

Conversation

@tyh0123
Copy link

@tyh0123 tyh0123 commented May 26, 2025

No description provided.

Source/main.cpp Outdated
Real Gradient_Energy = ComputeGradientEnergy(P_old, MaterialMask, geom, g11, g44);
Real Electrostatic_Energy = ComputeElectrostaticEnergy(P_old, E, MaterialMask, geom);
Real Total_Energy = Landau_Energy + Gradient_Energy + Electrostatic_Energy;
printf("g11_1 value is:%g \n", g11);
Copy link
Collaborator

Choose a reason for hiding this comment

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

use amrex::Print() instead

@tyh0123 tyh0123 marked this pull request as ready for review June 28, 2025 19:30
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