this->dof_handler->get_fe().dofs_per_line),
typename BaseClass::ExcVectorDoesNotMatch());
+ // this function really only makes
+ // sense on non-active objects if
+ // all degrees of freedom are
+ // located on vertices, since
+ // otherwise there are degrees of
+ // freedom on sub-objects which are
+ // not allocated for this
+ // non-active thing
+ Assert (this->active() ||
+ (this->dof_handler->get_fe().dofs_per_cell ==
+ 2*this->dof_handler->get_fe().dofs_per_vertex),
+ typename DoFAccessor<dim>::ExcNotActive());
+
const unsigned int dofs_per_vertex = this->dof_handler->get_fe().dofs_per_vertex,
dofs_per_line = this->dof_handler->get_fe().dofs_per_line;
std::vector<unsigned int>::iterator next = dof_indices.begin();
this->dof_handler->get_fe().dofs_per_quad),
typename DoFAccessor<dim>::ExcVectorDoesNotMatch());
+ // this function really only makes
+ // sense on non-active objects if
+ // all degrees of freedom are
+ // located on vertices, since
+ // otherwise there are degrees of
+ // freedom on sub-objects which are
+ // not allocated for this
+ // non-active thing
+ Assert (this->active() ||
+ (this->dof_handler->get_fe().dofs_per_cell ==
+ 4*this->dof_handler->get_fe().dofs_per_vertex),
+ typename DoFAccessor<dim>::ExcNotActive());
+
+
const unsigned int dofs_per_vertex = this->dof_handler->get_fe().dofs_per_vertex,
dofs_per_line = this->dof_handler->get_fe().dofs_per_line,
dofs_per_quad = this->dof_handler->get_fe().dofs_per_quad;
this->dof_handler->get_fe().dofs_per_hex),
typename DoFAccessor<dim>::ExcVectorDoesNotMatch());
+ // this function really only makes
+ // sense on non-active objects if
+ // all degrees of freedom are
+ // located on vertices, since
+ // otherwise there are degrees of
+ // freedom on sub-objects which are
+ // not allocated for this
+ // non-active thing
+ Assert (this->active() ||
+ (this->dof_handler->get_fe().dofs_per_cell ==
+ 8*this->dof_handler->get_fe().dofs_per_vertex),
+ typename DoFAccessor<dim>::ExcNotActive());
+
const unsigned int dofs_per_vertex = this->dof_handler->get_fe().dofs_per_vertex,
dofs_per_line = this->dof_handler->get_fe().dofs_per_line,
dofs_per_quad = this->dof_handler->get_fe().dofs_per_quad,
};
+
template <int dim>
inline
TriaIterator<dim,DoFObjectAccessor<1,dim> >
<h3>base</h3>
<ol>
+ <li> <p>
+ New: There are now operators to allow multiplication and
+ division of <code class="class">Tensor</code> objects by scalar
+ factors.
+ <br>
+ (WB 2002/06/07)
+ </p>
</ol>
<h3>deal.II</h3>
<ol>
+ <li> <p>
+ Fixed: The <code class="member">get_dof_indices</code>
+ functions of DoF accessor classes used to work also for
+ non-active cells. However, the results were bogus except for
+ the special case that we had a finite element that has all its
+ degrees of freedom located in vertices. This is now fixed: the
+ function throws an exception in all other cases, since there is
+ no useful meaning for it then. It continues to work in the
+ special case.
+ <br>
+ (WB 2002/06/08)
+ </p>
+
<li> <p>
New: For encapsulated postscript of 2d grids, it is now
possible to tell the <code class="class">GridOut</code> to