Skip to content

namespace pd3::io

Summary

Members Descriptions
autobind_eigen_to_proto(const pd3::proto::Burgers &) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
voidbind_proto_to_eigen(constMiller&, proto::Miller &) Fills either Miller or Burgers with Eigen based implementation.
voidbind_proto_to_eigen(const Burgers &, proto::Burgers &) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
autoadd_segment_to_state(const Segment &, pState_) Adds a pd3::Segment to a protobuf state.
autobind_system_to_proto(constSystem&, pState_) Extracts the state of the system into a Series proto.
autounwrap_precipitate(const System_ &, const ::pd3::proto::Precipitate &) Provided a precipitate proto, adds the representation to the system.
autoload_series(const pSeries &, const std::string &) Loads a pd3.proto.Series from either a pbtxt file or pb file.
autoload_series_pbtxt(const pSeries &, const std::string &) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
autoload_series_pb(const pSeries &, const std::string &) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
autosystem_merge_series(const System_ &, const std::string &, absl::flat_hash_map< int64_t, Node_ > &) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
autosystem_merge_series(const System_ &, const pSeries &, absl::flat_hash_map< int64_t, Node_ > &, int) This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.
autosystem_from_file(const std::string &) Load config, set defaults, validate and build!

Members

bind_eigen_to_proto

auto bind_eigen_to_proto(const pd3::proto::Burgers & burgers)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

bind_proto_to_eigen

void bind_proto_to_eigen(const Miller & millers, proto::Miller & destination)

Fills either Miller or Burgers with Eigen based implementation.

bind_proto_to_eigen

void bind_proto_to_eigen(const Burgers & burgers, proto::Burgers & destination)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

add_segment_to_state

auto add_segment_to_state(const Segment & segment, pState_ state)

Adds a pd3::Segment to a protobuf state.

bind_system_to_proto

auto bind_system_to_proto(const System & system, pState_ state)

Extracts the state of the system into a Series proto.

unwrap_precipitate

auto unwrap_precipitate(const System_ & sys, const ::pd3::proto::Precipitate & pp)

Provided a precipitate proto, adds the representation to the system.

load_series

auto load_series(const pSeries & series, const std::string & filename)

Loads a pd3.proto.Series from either a pbtxt file or pb file.

load_series_pbtxt

auto load_series_pbtxt(const pSeries & series, const std::string & filename)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

load_series_pb

auto load_series_pb(const pSeries & series, const std::string & filename)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

system_merge_series

auto system_merge_series(const System_ &, const std::string & series_file, absl::flat_hash_map< int64_t, Node_ > &)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

system_merge_series

auto system_merge_series(const System_ &, const pSeries &, absl::flat_hash_map< int64_t, Node_ > &, int)

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

system_from_file

auto system_from_file(const std::string & series_file)

Load config, set defaults, validate and build!