LinearCyclic.cppGo to the documentation of this file.00001 #include "LinearCyclic.h" 00002 #include <math.h> 00003 00004 LinearCyclic::LinearCyclic(int tag) 00005 :CyclicModel(tag, -1) 00006 { 00007 00008 } 00009 00010 00011 LinearCyclic::~LinearCyclic() 00012 { 00013 // does nothing 00014 } 00015 00016 00017 CyclicModel *LinearCyclic::getCopy() 00018 { 00019 CyclicModel *newModel = new LinearCyclic(getTag()); 00020 return newModel; 00021 } 00022 00023 double LinearCyclic::getTaskFactor() 00024 { 00025 return resFactor; 00026 } 00027 00028 void LinearCyclic::Print (OPS_Stream &s, int flag) 00029 { 00030 this->CyclicModel::Print (s, flag); 00031 s << "+LinearCyclic\n"; 00032 s << " taskFactor = " << resFactor << endln; 00033 s << "----------------------------------------" 00034 << "----------------------------------------" 00035 << endln; 00036 } 00037 00038 00039 |