MCPcopy Create free account
hub / github.com/devosoft/avida / UpdateCellResource

Method UpdateCellResource

avida-core/source/main/cResource.cc:208–213  ·  view source on GitHub ↗

Update the values of given cell resource */

Source from the content-addressed store, hash-verified

206
207/* Update the values of given cell resource */
208void cResource::UpdateCellResource(cCellResource *_CellResourcePtr, double _initial,
209 double _inflow, double _outflow) {
210 _CellResourcePtr->SetInitial(_initial);
211 _CellResourcePtr->SetInflow(_inflow);
212 _CellResourcePtr->SetOutflow(_outflow);
213}

Callers 1

LoadCellMethod · 0.80

Calls 3

SetInitialMethod · 0.45
SetInflowMethod · 0.45
SetOutflowMethod · 0.45

Tested by

no test coverage detected