3 #include "../../include/matrixFreePDE.h" 4 #include "../../include/initialConditions.h" 8 template <
int dim,
int degree>
11 typename Triangulation<dim>::cell_iterator
15 for (; cell!=endc; ++cell){
18 for (
unsigned int face_number=0; face_number<GeometryInfo<dim>::faces_per_cell;++face_number){
19 for (
unsigned int i=0; i<dim; i++){
20 if ( std::fabs(cell->face(face_number)->center()(i) - (0)) < 1e-12 ){
21 cell->face(face_number)->set_boundary_id (2*i);
23 else if (std::fabs(cell->face(face_number)->center()(i) - (userInputs.domain_size[i])) < 1e-12){
24 cell->face(face_number)->set_boundary_id (2*i+1);
32 #include "../../include/matrixFreePDE_template_instantiations.h" void markBoundaries(parallel::distributed::Triangulation< dim > &) const