Yes, it is the right kind of context


On Fri, Nov 29, 2013 at 2:43 PM, Anthony Scopatz
<notifications@github.com>wrote:

> In src/exchange_manager.h:
>
> > +    // solver_->Presolve();
> > +    solver_->Solve();
> > +    CLOG(LEV_DEBUG1) << "graph solved!";
> > +
> > +    // get trades
> > +    std::vector< Trade<T> > trades;
> > +    xlator.BackTranslateSolution(graph->matches, trades);
> > +    CLOG(LEV_DEBUG1) << "trades translated!";
> > +
> > +    // execute trades!
> > +    TradeExecutor<T> exec(trades);
> > +    exec.ExecuteTrades();
> > +    exec.RecordTrades(ctx_);
> > +  }
> > +
> > +  Context* ctx_;
>
> Is this the right kind of context? Just making sure.
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/cyclus/cyclus/pull/641/files#r8007936>
> .
>



-- 
Matthew Gidden
Ph.D. Candidate, Nuclear Engineering
The University of Wisconsin -- Madison
Ph. 225.892.3192