MCPcopy Create free account
hub / github.com/Cantera/cantera / share

Method share

include/cantera/base/SolutionArray.h:65–68  ·  view source on GitHub ↗

* Share locations from an existing SolutionArray and return new reference. * * Both SolutionArray object share common data. The method is used for slicing * of SolutionArrays from high-level API's. Note that meta data are not inherited. * @param selected List of locations for shared entries */

Source from the content-addressed store, hash-verified

63 * @param selected List of locations for shared entries
64 */
65 shared_ptr<SolutionArray> share(const vector<int>& selected)
66 {
67 return shared_ptr<SolutionArray>(new SolutionArray(*this, selected));
68 }
69
70 //! Reset all entries of the SolutionArray to the current Solution state
71 void reset();

Callers 1

TESTFunction · 0.80

Calls

no outgoing calls

Tested by 1

TESTFunction · 0.64