@@ -90,9 +90,9 @@ class Elasticity : public ElasticBase
9090 virtual void initIntegration (size_t nGp, size_t nBp);
9191
9292 // ! \brief Initializes the integrand for a new result point loop.
93- // ! \param[in] lambda Load parameter
94- // ! \param[in] prinDirs If \e true , compute/store principal directions
95- virtual void initResultPoints (double lambda, bool prinDirs);
93+ // ! \param[in] time Current time
94+ // ! \param[in] prinDirs If > 0 , compute/store principal directions
95+ virtual void initResultPoints (double time, char prinDirs);
9696
9797 using ElasticBase::getLocalIntegral;
9898 // ! \brief Returns a local integral container for the given element.
@@ -223,8 +223,9 @@ class Elasticity : public ElasticBase
223223 // ! to calculate the maximum stress values in the model. If the argument \a nP
224224 // ! is equal to 1, only the global maxima over all patches in the model are
225225 // ! determined. Otherwise, if it equals the number of patches in the model,
226- // ! the maximum values are computed for each patch separately.
227- void initMaxVals (size_t nP = 1 );
226+ // ! the maximum values are computed for each patch separately. If \a nP is 0,
227+ // ! the max-values buffer is initialized to zero without touching its size.
228+ void initMaxVals (size_t nP = 0 );
228229
229230 // ! \brief Returns a pointer to the max values for external update.
230231 std::vector<PointValues>* getMaxVals () const { return &maxVal; }
0 commit comments