Skip to content

Commit

Permalink
add pcount to diags
Browse files Browse the repository at this point in the history
  • Loading branch information
RevathiJambunathan committed Aug 3, 2023
1 parent 7288251 commit a3dbb68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Source/Diagnostics/FullDiagnostics.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -801,7 +801,8 @@ FullDiagnostics::InitializeFieldFunctors (int lev)
lev, m_crse_ratio);
} else if (m_varnames[comp] == "polarcapflag") {
m_all_field_functors[lev][comp] = std::make_unique<CellCenterFunctor>(warpx.getPulsar().get_pointer_PC_flag(lev), lev, m_crse_ratio);

} else if (m_varnames[comp] == "pcount") {
m_all_field_functors[lev][comp] = std::make_unique<CellCenterFunctor>(warpx.getPulsar().get_pointer_pcount(lev), lev, m_crse_ratio);
#endif
}
else {
Expand Down

0 comments on commit a3dbb68

Please sign in to comment.