Skip to content

Commit

Permalink
Fix speciesinit
Browse files Browse the repository at this point in the history
`fluid_masses` was defined on wrong domain in `species_init`

See merge request gysela-developpers/gyselalibxx!557

--------------------------------------------
  • Loading branch information
EmilyBourne committed Jul 9, 2024
1 parent 320e7b7 commit 52645fc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/speciesinfo/species_init.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ void init_all_species(
// Define the domain of fluid species
dom_fluidsp = IDomainSp(IndexSp(nb_kinspecies), IVectSp(nb_fluidspecies));
host_t<IFieldSp> fluid_charges(dom_fluidsp);
host_t<DFieldSp> fluid_masses(dom_kinsp);
host_t<DFieldSp> fluid_masses(dom_fluidsp);
for (IndexSp const isp : dom_fluidsp) {
PC_tree_t const conf_nisp = PCpp_get(
conf_voicexx,
Expand Down

0 comments on commit 52645fc

Please sign in to comment.