We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This program still uses the old way to select which cells to produce output on:
template<int dim> class FilteredDataOut : public DataOut<dim> { public: FilteredDataOut (const unsigned int subdomain_id) : subdomain_id (subdomain_id) {} virtual ~FilteredDataOut() {} virtual typename DataOut<dim>::cell_iterator first_cell () { auto cell = this->dofs->begin_active(); while ((cell != this->dofs->end()) && (cell->subdomain_id() != subdomain_id)) ++cell; return cell; } virtual typename DataOut<dim>::cell_iterator next_cell (const typename DataOut<dim>::cell_iterator &old_cell) { if (old_cell != this->dofs->end()) { const IteratorFilters::SubdomainEqualTo predicate(subdomain_id); return ++(FilteredIterator <typename DataOut<dim>::cell_iterator> (predicate,old_cell)); } else return old_cell; } private: const unsigned int subdomain_id; };
This needs to be updated.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
This program still uses the old way to select which cells to produce output on:
This needs to be updated.
The text was updated successfully, but these errors were encountered: