void DataOut<dim,DH>::build_patches (const unsigned int n_subdivisions,
const unsigned int n_threads_)
{
- build_patches (StaticMappingQ1<DH::dimension>::mapping, n_subdivisions, n_threads_);
+ build_patches (StaticMappingQ1<DH::dimension>::mapping,
+ n_subdivisions, n_threads_);
}
typedef DataOut_DoFData<DH, DH::dimension> BaseClass;
Assert (this->dofs != 0, typename BaseClass::ExcNoDoFHandlerSelected());
+ Assert (!DEAL_II_USE_MT || (n_threads_ >= 1),
+ ExcMessage ("Must run with at least one thread!"));
+
const unsigned int n_threads = (DEAL_II_USE_MT ? n_threads_ : 1);
// before we start the loop:
typedef DataOut_DoFData<DH,DH::dimension+1> BaseClass;
Assert (this->dofs != 0, typename BaseClass::ExcNoDoFHandlerSelected());
+ Assert (!DEAL_II_USE_MT || (n_threads_ >= 1),
+ ExcMessage ("Must run with at least one thread!"));
const unsigned int n_threads = (DEAL_II_USE_MT ? n_threads_ : 1);
// before we start the loop:
typedef DataOut_DoFData<DH,DH::dimension+1> BaseClass;
Assert (this->dofs != 0, typename BaseClass::ExcNoDoFHandlerSelected());
+ Assert (!DEAL_II_USE_MT || (n_threads_ >= 1),
+ ExcMessage ("Must run with at least one thread!"));
const unsigned int n_threads = (DEAL_II_USE_MT ? n_threads_ : 1);
// before we start the loop:
<h3>deal.II</h3>
<ol>
+ <li> <p>
+ Fixed: The <code
+ class="member">DataOut::build_patches</code> and similar
+ functions in the related <code>DataOut*</code> classes allowed to pass
+ zero as the second argument (denoting the number of threads to use if
+ multithreading is enabled). This led to no output being created at
+ all. This is now fixed by throwing an exception in this case.
+ <br>
+ (WB 2006/07/31)
+ </p>
+
<li> <p>
New: The new function <code class="class">FiniteElementBase</code>::<code
class="member">n_dofs_per_object</code> returns either