42 mContractionModelOdeTimeStep(-1.0),
43 mMechanicsSolveTimestep(-1.0),
44 mDeformationAffectsConductivity(false),
45 mDeformationAffectsCellModels(false),
46 mpDefaultMaterialLaw(NULL),
47 mReadFibreSheetInformationFromFile(false),
48 mNumIncrementsForInitialDeformation(1),
49 mApplyCrossFibreTension(false),
52 mpContractionCellFactory(NULL),
53 mWeMadeCellFactory(false),
169 if (mMechanicsSolveTimestep < 0.0)
171 EXCEPTION(
"Timestep for mechanics solve hasn't been set yet");
174 if (mContractionModelOdeTimeStep < 0.0)
176 std::string message =
"Contraction model or contraction model ODE timestep have not been set. "
177 "Make sure SetContractionModel(), or SetContractionCellFactory() AND SetContractionModelOdeTimestep "
178 "are called. (Pass in a timestep even if contraction model is algebraic and won't use it). ";
182 if (mDeformationAffectsConductivity && this->GetCompressibilityType()==COMPRESSIBLE)
187 EXCEPTION(
"Deformation affecting the conductivity is currently not implemented fully for compressible problems");
190 if (mDeformationAffectsCellModels && mReadFibreSheetInformationFromFile && mFibreSheetDirectionsDefinedPerQuadraturePoint)
193 std::stringstream message;
194 message <<
"Deformation affecting cell models cannot be done when fibres-sheet information is defined for each quadrature point.";
195 message <<
"Define fibre-sheet information for each element instead.";