Skip to content

Commit

Permalink
Merge pull request #3384 from pnorbert/fix-paraview-fides-engine
Browse files Browse the repository at this point in the history
repeat setup from Init in Execute (Caitlin's fix)
  • Loading branch information
pnorbert authored Nov 22, 2022
2 parents 9c9e4ca + 3d3c8fd commit 24c267a
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions plugins/engines/ParaViewFidesEngine.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,18 @@ struct ParaViewFidesEngine::EngineImpl
node["catalyst/state/time"].set(timestep);
node["catalyst/channels/fides/type"].set(std::string("fides"));

// options to set up the fides reader in paraview
std::ostringstream address;
address << &Io;

node["catalyst/fides/json_file"].set(this->JSONFileName);
node["catalyst/fides/data_source_io/source"].set(std::string("source"));
node["catalyst/fides/data_source_io/address"].set(address.str());
node["catalyst/fides/data_source_path/source"].set(
std::string("source"));
node["catalyst/fides/data_source_path/path"].set(
std::string("DataReader"));

// catalyst requires the data node on a channel, but we don't actually
// need it when using fides, so just create a dummy object to pass
// the validation in catalyst
Expand Down

0 comments on commit 24c267a

Please sign in to comment.