DeclException1 (ExcInvalidNumberOfSubdivisions,
int,
<< "The number of subdivisions per patch, " << arg1
- << ", is not valid.");
+ << ", is not valid. It needs to be greater or equal to "
+ "one, or zero if you want it to be determined "
+ "automatically.");
/**
* Exception
*/
DeclException1 (ExcRadialVariableHasNegativeValues,
double,
- << "The radial variable attains a negative value of " << arg1);
+ << "You are attempting to use this class on a triangulation "
+ "in which some vertices have a negative radial coordinate "
+ "value of "
+ << arg1
+ << ". If you rotate such a triangulation around an "
+ "axis, you will get (dim+1)-dimensional meshes "
+ "that are not likely what you hoped to see.");
private:
/**
/**
* Exception
*/
- DeclException0 (ExcNoDoFHandlerSelected);
+ DeclExceptionMsg (ExcNoDoFHandlerSelected,
+ "For the operation you are attempting, you first need to "
+ "tell the DataOut or related object which DoFHandler "
+ "you would like to work on.");
/**
* Exception
*/
DeclException3 (ExcInvalidVectorSize,
int, int, int,
<< "The vector has size " << arg1
- << " but the DoFHandler objects says there are " << arg2
+ << " but the DoFHandler object says that there are " << arg2
<< " degrees of freedom and there are " << arg3
- << " active cells.");
+ << " active cells. The size of your vector needs to be"
+ << " either equal to the number of degrees of freedom, or"
+ << " equal to the number of active cells.");
/**
* Exception
*/
<< "description strings since some graphics formats will only accept these."
<< std::endl
<< "The string you gave was <" << arg1
- << ">, the invalid character is <" << arg1[arg2]
+ << ">, within which the invalid character is <" << arg1[arg2]
<< ">." << std::endl);
/**
* Exception
DeclException1 (ExcVectorNotDeclared,
std::string,
<< "The data vector for which the first component has the name "
- << arg1 << " has not been declared before.");
+ << arg1 << " has not been added before.");
/**
* Exception
*/
- DeclException0 (ExcDataNotCleared);
+ DeclExceptionMsg (ExcDataNotCleared,
+ "You cannot start a new time/parameter step before calling "
+ "finish_parameter_value() on the previous step.");
/**
* Exception
*/
- DeclException0 (ExcDataAlreadyAdded);
+ DeclExceptionMsg (ExcDataAlreadyAdded,
+ "You cannot declare additional vectors after already calling "
+ "build_patches(). All data vectors need to be declared "
+ "before you call this function the first time.");
/**
* Exception
*/
DeclException1 (ExcInvalidNumberOfSubdivisions,
int,
<< "The number of subdivisions per patch, " << arg1
- << ", is not valid.");
+ << ", is not valid. It needs to be greater or equal "
+ << "to one.");
private:
/**
parameter = p;
parameter_step = dp;
- // check whether the user called @p{finish_...}
- // at the end of the previous parameter step
+ // check whether the user called finish_parameter_value() at the end of the previous
+ // parameter step
//
- // this is to prevent serious waste of
- // memory
+ // this is to prevent serious waste of memory
for (typename std::vector<DataVector>::const_iterator i=dof_data.begin();
i!=dof_data.end(); ++i)
Assert (i->data.size() == 0,