diff --git a/include/base/dof_map.h b/include/base/dof_map.h index 3e00059a669..eb10eb9f19e 100644 --- a/include/base/dof_map.h +++ b/include/base/dof_map.h @@ -1077,6 +1077,34 @@ class DofMap : public DofMapBase, */ void create_dof_constraints (const MeshBase &, Real time=0); + /** + * Recomputes the DirichletBoundary constraint values at a new \p + * time. The result is the same as that of create_dof_constraints() + * at \p time. + * + * Only the DirichletBoundary values change with time. The degrees + * of freedom that each DirichletBoundary claims depend only on the + * mesh. The hanging-node, periodic and p-refinement constraints also + * depend only on the mesh. Thus create_dof_constraints() keeps a + * copy of the constraints that it builds before it applies the + * DirichletBoundary objects. It also records the local elements that + * carry a DirichletBoundary id. This method restores that copy. Then + * it applies the DirichletBoundary objects again, on those elements + * only and in the same order. Thus overlapping boundaries resolve as + * they do in create_dof_constraints(). Last, it processes any spline + * constraint rows of the mesh, as create_dof_constraints() does. + * + * This method calls create_dof_constraints() instead if one of these + * conditions is true: + * - No copy matches the current degrees of freedom and boundaries. + * - There are no DirichletBoundary objects. + * + * As after create_dof_constraints(), add any user constraints and + * then call process_constraints(). + * System::reinit_dirichlet_constraint_values() does these steps. + */ + void reinit_dirichlet_constraint_values (const MeshBase & mesh, Real time); + /** * Gathers constraint equation dependencies from other processors */ @@ -1664,6 +1692,22 @@ class DofMap : public DofMapBase, */ void check_dirichlet_bcid_consistency (const MeshBase & mesh, const DirichletBoundary & boundary) const; + +private: + /** + * Adds the constraints of each primal and adjoint DirichletBoundary + * at \p time on the elements of \p range. + * + * \returns If \p record_elems is true, the elements of \p range + * that carry a DirichletBoundary id, sorted by id. Otherwise, an + * empty vector. + */ + std::vector apply_dirichlet_boundaries (const MeshBase & mesh, + Real time, + ConstElemRange & range, + bool record_elems); + +public: #endif // LIBMESH_ENABLE_DIRICHLET @@ -2291,6 +2335,33 @@ class DofMap : public DofMapBase, AdjointDofConstraintValues _adjoint_constraint_values; #endif +#ifdef LIBMESH_ENABLE_DIRICHLET + /** + * The data from the last create_dof_constraints() call that + * reinit_dirichlet_constraint_values() uses at a new time. + */ + struct DirichletConstraintCache + { + /// Whether the cache matches the current degrees of freedom and boundaries + bool valid = false; + + /// The constraints that create_dof_constraints() built before it + /// applied the DirichletBoundary objects + DofConstraints dof_constraints; + DofConstraintValueMap primal_constraint_values; + AdjointDofConstraintValues adjoint_constraint_values; +#ifdef LIBMESH_ENABLE_NODE_CONSTRAINTS + NodeConstraints node_constraints; +#endif + + /// The local active elements carrying any DirichletBoundary id, + /// sorted by id + std::vector boundary_elems; + }; + + DirichletConstraintCache _dirichlet_cache; +#endif + #ifdef LIBMESH_ENABLE_NODE_CONSTRAINTS /** * Data structure containing DofObject constraints. diff --git a/include/parallel/threads_allocators.h b/include/parallel/threads_allocators.h index 76ed7bc5480..ebba66d1c43 100644 --- a/include/parallel/threads_allocators.h +++ b/include/parallel/threads_allocators.h @@ -76,6 +76,8 @@ class scalable_allocator : public tbb::scalable_allocator scalable_allocator (const scalable_allocator & a) : tbb::scalable_allocator(a) {} + scalable_allocator & operator= (const scalable_allocator &) = default; + template scalable_allocator(const scalable_allocator & a) : tbb::scalable_allocator(a) {} @@ -115,6 +117,8 @@ class scalable_allocator : public std::allocator scalable_allocator (const scalable_allocator & a) : std::allocator(a) {} + scalable_allocator & operator= (const scalable_allocator &) = default; + template scalable_allocator(const scalable_allocator & a) : std::allocator(a) {} diff --git a/include/systems/system.h b/include/systems/system.h index 290748b3f56..f776966f51d 100644 --- a/include/systems/system.h +++ b/include/systems/system.h @@ -284,6 +284,18 @@ class System : public ReferenceCountedObject, */ virtual void reinit_constraints (); + /** + * Recomputes the DirichletBoundary constraint values of this system + * at the current \p time. If only time changed since the last call + * to this method or to reinit_constraints(), the result is the same + * as that of reinit_constraints(). This method reuses the + * constraints that do not depend on time. See + * DofMap::reinit_dirichlet_constraint_values(). + * + * This method also prepares the send_list. + */ + void reinit_dirichlet_constraint_values (); + /** * Reinitializes the system with a new mesh. */ diff --git a/src/base/dof_map.C b/src/base/dof_map.C index 22c99a4c0cf..77606861473 100644 --- a/src/base/dof_map.C +++ b/src/base/dof_map.C @@ -934,6 +934,9 @@ void DofMap::clear() _stashed_dof_constraints.clear(); _primal_constraint_values.clear(); _adjoint_constraint_values.clear(); +#ifdef LIBMESH_ENABLE_DIRICHLET + _dirichlet_cache = DirichletConstraintCache(); +#endif _n_old_dfs = 0; _first_old_df.clear(); _end_old_df.clear(); @@ -973,6 +976,11 @@ std::size_t DofMap::distribute_dofs (MeshBase & mesh) constraining_subdomains = this->calculate_constraining_subdomains(); +#ifdef LIBMESH_ENABLE_DIRICHLET + // New degree of freedom indices invalidate every cached constraint + _dirichlet_cache = DirichletConstraintCache(); +#endif + // re-init in case the mesh has changed this->reinit(mesh, constraining_subdomains); diff --git a/src/base/dof_map_constraints.C b/src/base/dof_map_constraints.C index abba11a64e8..5554964a854 100644 --- a/src/base/dof_map_constraints.C +++ b/src/base/dof_map_constraints.C @@ -264,6 +264,14 @@ private: const AddConstraint & add_fn; + // Whether to record each element on which this functor applies a + // DirichletBoundary + const bool record_elems; + + // The elements on which this functor applied a DirichletBoundary, + // if record_elems is true + std::vector acted_on_elems; + static Number f_component (FunctionBase * f, FEMFunctionBase * f_fem, const FEMContext * c, @@ -1548,12 +1556,24 @@ public: const MeshBase & mesh_in, const Real time_in, const DirichletBoundaries & dirichlets_in, - const AddConstraint & add_in) : + const AddConstraint & add_in, + const bool record_elems_in) : dof_map(dof_map_in), mesh(mesh_in), time(time_in), dirichlets(dirichlets_in), - add_fn(add_in) { } + add_fn(add_in), + record_elems(record_elems_in) { } + + // Splitting constructor for Threads::parallel_reduce(). Each thread + // records its elements in its own list, so no lock is necessary. + ConstrainDirichlet (ConstrainDirichlet & other, Threads::split) : + dof_map(other.dof_map), + mesh(other.mesh), + time(other.time), + dirichlets(other.dirichlets), + add_fn(other.add_fn), + record_elems(other.record_elems) { } // This class can be default copy/move constructed. ConstrainDirichlet (ConstrainDirichlet &&) = default; @@ -1564,7 +1584,16 @@ public: ConstrainDirichlet & operator= (const ConstrainDirichlet &) = delete; ConstrainDirichlet & operator= (ConstrainDirichlet &&) = delete; - void operator()(const ConstElemRange & range) const + void join (ConstrainDirichlet & other) + { + acted_on_elems.insert(acted_on_elems.end(), + other.acted_on_elems.begin(), + other.acted_on_elems.end()); + } + + std::vector & get_acted_on_elems() { return acted_on_elems; } + + void operator()(const ConstElemRange & range) { /** * This method examines an arbitrary boundary solution to calculate @@ -1647,6 +1676,9 @@ public: if (!has_dirichlet_constraint) continue; + if (record_elems) + acted_on_elems.push_back(elem); + for (const auto & db_pair : sebi.ordered_dbs) { // Get pointer to the DirichletBoundary object @@ -1786,6 +1818,9 @@ void DofMap::create_dof_constraints(const MeshBase & mesh, Real time) #ifdef LIBMESH_ENABLE_NODE_CONSTRAINTS _node_constraints.clear(); #endif +#ifdef LIBMESH_ENABLE_DIRICHLET + _dirichlet_cache = DirichletConstraintCache(); +#endif if (!possible_global_constraints) return; @@ -1856,34 +1891,112 @@ void DofMap::create_dof_constraints(const MeshBase & mesh, Real time) for (const auto & dirichlet : *_dirichlet_boundaries) this->check_dirichlet_bcid_consistency(mesh, *dirichlet); - // Threaded loop over local over elems applying all Dirichlet BCs - Threads::parallel_for - (range, - ConstrainDirichlet(*this, mesh, time, *_dirichlet_boundaries, - AddPrimalConstraint(*this))); + // The constraints that this method built so far do not depend on + // time. Keep a copy of them for reinit_dirichlet_constraint_values(), + // with the elements that the Dirichlet loops below act on. + _dirichlet_cache.dof_constraints = _dof_constraints; + _dirichlet_cache.primal_constraint_values = _primal_constraint_values; + _dirichlet_cache.adjoint_constraint_values = _adjoint_constraint_values; +#ifdef LIBMESH_ENABLE_NODE_CONSTRAINTS + _dirichlet_cache.node_constraints = _node_constraints; +#endif + _dirichlet_cache.boundary_elems = + this->apply_dirichlet_boundaries(mesh, time, range, /*record_elems=*/true); + _dirichlet_cache.valid = true; + } + +#endif // LIBMESH_ENABLE_DIRICHLET + + // Handle spline node constraints last, so we can try to move + // existing constraints onto the spline basis if necessary. + this->process_mesh_constraint_rows(mesh); +} - // Threaded loop over local over elems per QOI applying all adjoint - // Dirichlet BCs. Note that the ConstElemRange is reset before each - // execution of Threads::parallel_for(). - for (auto qoi_index : index_range(_adjoint_dirichlet_boundaries)) + +#ifdef LIBMESH_ENABLE_DIRICHLET +std::vector +DofMap::apply_dirichlet_boundaries(const MeshBase & mesh, + const Real time, + ConstElemRange & range, + const bool record_elems) +{ + // Threaded loop over local elems applying all Dirichlet BCs + const AddPrimalConstraint add_primal(*this); + ConstrainDirichlet primal(*this, mesh, time, *_dirichlet_boundaries, + add_primal, record_elems); + Threads::parallel_reduce(range, primal); + std::vector acted_on_elems = std::move(primal.get_acted_on_elems()); + + // Threaded loop over local elems per QOI applying all adjoint + // Dirichlet BCs. Note that the ConstElemRange is reset before each + // execution of Threads::parallel_reduce(). + + for (auto qoi_index : index_range(_adjoint_dirichlet_boundaries)) + { + const DirichletBoundaries & adb_q = + *(_adjoint_dirichlet_boundaries[qoi_index]); + + if (!adb_q.empty()) { - const DirichletBoundaries & adb_q = - *(_adjoint_dirichlet_boundaries[qoi_index]); - - if (!adb_q.empty()) - Threads::parallel_for - (range.reset(), - ConstrainDirichlet(*this, mesh, time, adb_q, - AddAdjointConstraint(*this, qoi_index))); + const AddAdjointConstraint add_adjoint(*this, qoi_index); + ConstrainDirichlet adjoint(*this, mesh, time, adb_q, + add_adjoint, record_elems); + Threads::parallel_reduce(range.reset(), adjoint); + const auto & adjoint_elems = adjoint.get_acted_on_elems(); + acted_on_elems.insert(acted_on_elems.end(), + adjoint_elems.begin(), adjoint_elems.end()); } } + // The list joins the primal and adjoint lists. Thus an element on + // primal and adjoint boundaries appears more than once, and the list + // is not in range order. Each element applies its boundaries in the + // same order at any position in the range. The first DofMap + // constraint on a degree of freedom stays, and later constraints do + // not overwrite it. Thus only the relative order of elements + // matters, and only where two elements share a degree of freedom. + // Sorting by id gives the order in which the local element range + // visits the elements. + std::sort(acted_on_elems.begin(), acted_on_elems.end(), + [](const Elem * a, const Elem * b) { return a->id() < b->id(); }); + acted_on_elems.erase(std::unique(acted_on_elems.begin(), acted_on_elems.end()), + acted_on_elems.end()); + return acted_on_elems; +} +#endif // LIBMESH_ENABLE_DIRICHLET + + + +void DofMap::reinit_dirichlet_constraint_values(const MeshBase & mesh, const Real time) +{ + parallel_object_only(); + + LOG_SCOPE("reinit_dirichlet_constraint_values()", "DofMap"); + +#ifdef LIBMESH_ENABLE_DIRICHLET + // Each branch below is collective. Thus every processor must take + // the same branch. + bool reuse = _dirichlet_cache.valid; + this->comm().min(reuse); + + if (reuse) + { + _dof_constraints = _dirichlet_cache.dof_constraints; + _primal_constraint_values = _dirichlet_cache.primal_constraint_values; + _adjoint_constraint_values = _dirichlet_cache.adjoint_constraint_values; +#ifdef LIBMESH_ENABLE_NODE_CONSTRAINTS + _node_constraints = _dirichlet_cache.node_constraints; +#endif + + ConstElemRange range(&_dirichlet_cache.boundary_elems); + this->apply_dirichlet_boundaries(mesh, time, range, /*record_elems=*/false); + this->process_mesh_constraint_rows(mesh); + return; + } #endif // LIBMESH_ENABLE_DIRICHLET - // Handle spline node constraints last, so we can try to move - // existing constraints onto the spline basis if necessary. - this->process_mesh_constraint_rows(mesh); + this->create_dof_constraints(mesh, time); } @@ -5437,6 +5550,8 @@ void DofMap::constrain_p_dofs (unsigned int var, #ifdef LIBMESH_ENABLE_DIRICHLET void DofMap::add_dirichlet_boundary (const DirichletBoundary & dirichlet_boundary) { + _dirichlet_cache.valid = false; + _dirichlet_boundaries->push_back(std::make_unique(dirichlet_boundary)); } @@ -5444,6 +5559,8 @@ void DofMap::add_dirichlet_boundary (const DirichletBoundary & dirichlet_boundar void DofMap::add_adjoint_dirichlet_boundary (const DirichletBoundary & dirichlet_boundary, unsigned int qoi_index) { + _dirichlet_cache.valid = false; + unsigned int old_size = cast_int (_adjoint_dirichlet_boundaries.size()); for (unsigned int i = old_size; i <= qoi_index; ++i) @@ -5486,6 +5603,8 @@ DofMap::get_adjoint_dirichlet_boundaries(unsigned int q) void DofMap::remove_dirichlet_boundary (const DirichletBoundary & boundary_to_remove) { + _dirichlet_cache.valid = false; + // Find a boundary condition matching the one to be removed auto lam = [&boundary_to_remove](const auto & bdy) {return bdy->b == boundary_to_remove.b && bdy->variables == boundary_to_remove.variables;}; @@ -5501,6 +5620,8 @@ void DofMap::remove_dirichlet_boundary (const DirichletBoundary & boundary_to_re void DofMap::remove_adjoint_dirichlet_boundary (const DirichletBoundary & boundary_to_remove, unsigned int qoi_index) { + _dirichlet_cache.valid = false; + libmesh_assert_greater(_adjoint_dirichlet_boundaries.size(), qoi_index); @@ -5566,6 +5687,10 @@ void DofMap::add_periodic_boundary (const PeriodicBoundaryBase & periodic_bounda void DofMap::add_periodic_boundary (const PeriodicBoundaryBase & boundary, const PeriodicBoundaryBase & inverse_boundary) { +#ifdef LIBMESH_ENABLE_DIRICHLET + _dirichlet_cache.valid = false; +#endif + libmesh_assert_equal_to (boundary.myboundary, inverse_boundary.pairedboundary); libmesh_assert_equal_to (boundary.pairedboundary, inverse_boundary.myboundary); libmesh_assert(boundary.get_variables() == inverse_boundary.get_variables()); diff --git a/src/systems/system.C b/src/systems/system.C index 730ea329455..b258461e7d1 100644 --- a/src/systems/system.C +++ b/src/systems/system.C @@ -495,6 +495,22 @@ void System::reinit_constraints() } + +void System::reinit_dirichlet_constraint_values() +{ + parallel_object_only(); + +#ifdef LIBMESH_ENABLE_CONSTRAINTS + get_dof_map().reinit_dirichlet_constraint_values(_mesh, this->time); + user_constrain(); + get_dof_map().process_constraints(_mesh); + if (libMesh::on_command_line ("--print-constraints")) + get_dof_map().print_dof_constraints(libMesh::out); +#endif + get_dof_map().prepare_send_list(); +} + + void System::update () { parallel_object_only(); diff --git a/tests/Makefile.am b/tests/Makefile.am index a1ec9df6af1..2b752d81ce1 100644 --- a/tests/Makefile.am +++ b/tests/Makefile.am @@ -145,6 +145,7 @@ unit_tests_sources = \ solvers/first_order_unsteady_solver_test.C \ solvers/second_order_unsteady_solver_test.C \ systems/constraint_operator_test.C \ + systems/dirichlet_constraint_values_test.C \ systems/equation_systems_test.C \ systems/heterogeneous_nonlinear_constraint_test.C \ systems/periodic_bc_test.C \ diff --git a/tests/Makefile.in b/tests/Makefile.in index e6e164a14cb..9b561cd3380 100644 --- a/tests/Makefile.in +++ b/tests/Makefile.in @@ -282,6 +282,7 @@ am__unit_tests_dbg_SOURCES_DIST = driver.C libmesh_cppunit.h \ solvers/first_order_unsteady_solver_test.C \ solvers/second_order_unsteady_solver_test.C \ systems/constraint_operator_test.C \ + systems/dirichlet_constraint_values_test.C \ systems/equation_systems_test.C \ systems/heterogeneous_nonlinear_constraint_test.C \ systems/periodic_bc_test.C systems/disjoint_neighbor_test.C \ @@ -410,6 +411,7 @@ am__objects_2 = unit_tests_dbg-driver.$(OBJEXT) \ solvers/unit_tests_dbg-first_order_unsteady_solver_test.$(OBJEXT) \ solvers/unit_tests_dbg-second_order_unsteady_solver_test.$(OBJEXT) \ systems/unit_tests_dbg-constraint_operator_test.$(OBJEXT) \ + systems/unit_tests_dbg-dirichlet_constraint_values_test.$(OBJEXT) \ systems/unit_tests_dbg-equation_systems_test.$(OBJEXT) \ systems/unit_tests_dbg-heterogeneous_nonlinear_constraint_test.$(OBJEXT) \ systems/unit_tests_dbg-periodic_bc_test.$(OBJEXT) \ @@ -508,6 +510,7 @@ am__unit_tests_devel_SOURCES_DIST = driver.C libmesh_cppunit.h \ solvers/first_order_unsteady_solver_test.C \ solvers/second_order_unsteady_solver_test.C \ systems/constraint_operator_test.C \ + systems/dirichlet_constraint_values_test.C \ systems/equation_systems_test.C \ systems/heterogeneous_nonlinear_constraint_test.C \ systems/periodic_bc_test.C systems/disjoint_neighbor_test.C \ @@ -635,6 +638,7 @@ am__objects_4 = unit_tests_devel-driver.$(OBJEXT) \ solvers/unit_tests_devel-first_order_unsteady_solver_test.$(OBJEXT) \ solvers/unit_tests_devel-second_order_unsteady_solver_test.$(OBJEXT) \ systems/unit_tests_devel-constraint_operator_test.$(OBJEXT) \ + systems/unit_tests_devel-dirichlet_constraint_values_test.$(OBJEXT) \ systems/unit_tests_devel-equation_systems_test.$(OBJEXT) \ systems/unit_tests_devel-heterogeneous_nonlinear_constraint_test.$(OBJEXT) \ systems/unit_tests_devel-periodic_bc_test.$(OBJEXT) \ @@ -751,6 +755,7 @@ am__unit_tests_oprof_SOURCES_DIST = driver.C libmesh_cppunit.h \ solvers/first_order_unsteady_solver_test.C \ solvers/second_order_unsteady_solver_test.C \ systems/constraint_operator_test.C \ + systems/dirichlet_constraint_values_test.C \ systems/equation_systems_test.C \ systems/heterogeneous_nonlinear_constraint_test.C \ systems/periodic_bc_test.C systems/disjoint_neighbor_test.C \ @@ -878,6 +883,7 @@ am__objects_6 = unit_tests_oprof-driver.$(OBJEXT) \ solvers/unit_tests_oprof-first_order_unsteady_solver_test.$(OBJEXT) \ solvers/unit_tests_oprof-second_order_unsteady_solver_test.$(OBJEXT) \ systems/unit_tests_oprof-constraint_operator_test.$(OBJEXT) \ + systems/unit_tests_oprof-dirichlet_constraint_values_test.$(OBJEXT) \ systems/unit_tests_oprof-equation_systems_test.$(OBJEXT) \ systems/unit_tests_oprof-heterogeneous_nonlinear_constraint_test.$(OBJEXT) \ systems/unit_tests_oprof-periodic_bc_test.$(OBJEXT) \ @@ -972,6 +978,7 @@ am__unit_tests_opt_SOURCES_DIST = driver.C libmesh_cppunit.h \ solvers/first_order_unsteady_solver_test.C \ solvers/second_order_unsteady_solver_test.C \ systems/constraint_operator_test.C \ + systems/dirichlet_constraint_values_test.C \ systems/equation_systems_test.C \ systems/heterogeneous_nonlinear_constraint_test.C \ systems/periodic_bc_test.C systems/disjoint_neighbor_test.C \ @@ -1099,6 +1106,7 @@ am__objects_8 = unit_tests_opt-driver.$(OBJEXT) \ solvers/unit_tests_opt-first_order_unsteady_solver_test.$(OBJEXT) \ solvers/unit_tests_opt-second_order_unsteady_solver_test.$(OBJEXT) \ systems/unit_tests_opt-constraint_operator_test.$(OBJEXT) \ + systems/unit_tests_opt-dirichlet_constraint_values_test.$(OBJEXT) \ systems/unit_tests_opt-equation_systems_test.$(OBJEXT) \ systems/unit_tests_opt-heterogeneous_nonlinear_constraint_test.$(OBJEXT) \ systems/unit_tests_opt-periodic_bc_test.$(OBJEXT) \ @@ -1193,6 +1201,7 @@ am__unit_tests_prof_SOURCES_DIST = driver.C libmesh_cppunit.h \ solvers/first_order_unsteady_solver_test.C \ solvers/second_order_unsteady_solver_test.C \ systems/constraint_operator_test.C \ + systems/dirichlet_constraint_values_test.C \ systems/equation_systems_test.C \ systems/heterogeneous_nonlinear_constraint_test.C \ systems/periodic_bc_test.C systems/disjoint_neighbor_test.C \ @@ -1320,6 +1329,7 @@ am__objects_10 = unit_tests_prof-driver.$(OBJEXT) \ solvers/unit_tests_prof-first_order_unsteady_solver_test.$(OBJEXT) \ solvers/unit_tests_prof-second_order_unsteady_solver_test.$(OBJEXT) \ systems/unit_tests_prof-constraint_operator_test.$(OBJEXT) \ + systems/unit_tests_prof-dirichlet_constraint_values_test.$(OBJEXT) \ systems/unit_tests_prof-equation_systems_test.$(OBJEXT) \ systems/unit_tests_prof-heterogeneous_nonlinear_constraint_test.$(OBJEXT) \ systems/unit_tests_prof-periodic_bc_test.$(OBJEXT) \ @@ -1945,6 +1955,7 @@ am__depfiles_remade = ./$(DEPDIR)/unit_tests_dbg-driver.Po \ solvers/$(DEPDIR)/unit_tests_prof-first_order_unsteady_solver_test.Po \ solvers/$(DEPDIR)/unit_tests_prof-second_order_unsteady_solver_test.Po \ systems/$(DEPDIR)/unit_tests_dbg-constraint_operator_test.Po \ + systems/$(DEPDIR)/unit_tests_dbg-dirichlet_constraint_values_test.Po \ systems/$(DEPDIR)/unit_tests_dbg-disjoint_neighbor_test.Po \ systems/$(DEPDIR)/unit_tests_dbg-equation_systems_test.Po \ systems/$(DEPDIR)/unit_tests_dbg-heterogeneous_nonlinear_constraint_test.Po \ @@ -1952,6 +1963,7 @@ am__depfiles_remade = ./$(DEPDIR)/unit_tests_dbg-driver.Po \ systems/$(DEPDIR)/unit_tests_dbg-periodic_bc_test.Po \ systems/$(DEPDIR)/unit_tests_dbg-systems_test.Po \ systems/$(DEPDIR)/unit_tests_devel-constraint_operator_test.Po \ + systems/$(DEPDIR)/unit_tests_devel-dirichlet_constraint_values_test.Po \ systems/$(DEPDIR)/unit_tests_devel-disjoint_neighbor_test.Po \ systems/$(DEPDIR)/unit_tests_devel-equation_systems_test.Po \ systems/$(DEPDIR)/unit_tests_devel-heterogeneous_nonlinear_constraint_test.Po \ @@ -1959,6 +1971,7 @@ am__depfiles_remade = ./$(DEPDIR)/unit_tests_dbg-driver.Po \ systems/$(DEPDIR)/unit_tests_devel-periodic_bc_test.Po \ systems/$(DEPDIR)/unit_tests_devel-systems_test.Po \ systems/$(DEPDIR)/unit_tests_oprof-constraint_operator_test.Po \ + systems/$(DEPDIR)/unit_tests_oprof-dirichlet_constraint_values_test.Po \ systems/$(DEPDIR)/unit_tests_oprof-disjoint_neighbor_test.Po \ systems/$(DEPDIR)/unit_tests_oprof-equation_systems_test.Po \ systems/$(DEPDIR)/unit_tests_oprof-heterogeneous_nonlinear_constraint_test.Po \ @@ -1966,6 +1979,7 @@ am__depfiles_remade = ./$(DEPDIR)/unit_tests_dbg-driver.Po \ systems/$(DEPDIR)/unit_tests_oprof-periodic_bc_test.Po \ systems/$(DEPDIR)/unit_tests_oprof-systems_test.Po \ systems/$(DEPDIR)/unit_tests_opt-constraint_operator_test.Po \ + systems/$(DEPDIR)/unit_tests_opt-dirichlet_constraint_values_test.Po \ systems/$(DEPDIR)/unit_tests_opt-disjoint_neighbor_test.Po \ systems/$(DEPDIR)/unit_tests_opt-equation_systems_test.Po \ systems/$(DEPDIR)/unit_tests_opt-heterogeneous_nonlinear_constraint_test.Po \ @@ -1973,6 +1987,7 @@ am__depfiles_remade = ./$(DEPDIR)/unit_tests_dbg-driver.Po \ systems/$(DEPDIR)/unit_tests_opt-periodic_bc_test.Po \ systems/$(DEPDIR)/unit_tests_opt-systems_test.Po \ systems/$(DEPDIR)/unit_tests_prof-constraint_operator_test.Po \ + systems/$(DEPDIR)/unit_tests_prof-dirichlet_constraint_values_test.Po \ systems/$(DEPDIR)/unit_tests_prof-disjoint_neighbor_test.Po \ systems/$(DEPDIR)/unit_tests_prof-equation_systems_test.Po \ systems/$(DEPDIR)/unit_tests_prof-heterogeneous_nonlinear_constraint_test.Po \ @@ -2583,6 +2598,7 @@ unit_tests_sources = driver.C libmesh_cppunit.h stream_redirector.h \ solvers/first_order_unsteady_solver_test.C \ solvers/second_order_unsteady_solver_test.C \ systems/constraint_operator_test.C \ + systems/dirichlet_constraint_values_test.C \ systems/equation_systems_test.C \ systems/heterogeneous_nonlinear_constraint_test.C \ systems/periodic_bc_test.C systems/disjoint_neighbor_test.C \ @@ -3201,6 +3217,8 @@ systems/$(DEPDIR)/$(am__dirstamp): @: >>systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_dbg-constraint_operator_test.$(OBJEXT): \ systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) +systems/unit_tests_dbg-dirichlet_constraint_values_test.$(OBJEXT): \ + systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_dbg-equation_systems_test.$(OBJEXT): \ systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_dbg-heterogeneous_nonlinear_constraint_test.$(OBJEXT): \ @@ -3485,6 +3503,8 @@ solvers/unit_tests_devel-second_order_unsteady_solver_test.$(OBJEXT): \ solvers/$(am__dirstamp) solvers/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_devel-constraint_operator_test.$(OBJEXT): \ systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) +systems/unit_tests_devel-dirichlet_constraint_values_test.$(OBJEXT): \ + systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_devel-equation_systems_test.$(OBJEXT): \ systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_devel-heterogeneous_nonlinear_constraint_test.$(OBJEXT): \ @@ -3797,6 +3817,8 @@ solvers/unit_tests_oprof-second_order_unsteady_solver_test.$(OBJEXT): \ solvers/$(am__dirstamp) solvers/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_oprof-constraint_operator_test.$(OBJEXT): \ systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) +systems/unit_tests_oprof-dirichlet_constraint_values_test.$(OBJEXT): \ + systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_oprof-equation_systems_test.$(OBJEXT): \ systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_oprof-heterogeneous_nonlinear_constraint_test.$(OBJEXT): \ @@ -4069,6 +4091,8 @@ solvers/unit_tests_opt-second_order_unsteady_solver_test.$(OBJEXT): \ solvers/$(am__dirstamp) solvers/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_opt-constraint_operator_test.$(OBJEXT): \ systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) +systems/unit_tests_opt-dirichlet_constraint_values_test.$(OBJEXT): \ + systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_opt-equation_systems_test.$(OBJEXT): \ systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_opt-heterogeneous_nonlinear_constraint_test.$(OBJEXT): \ @@ -4341,6 +4365,8 @@ solvers/unit_tests_prof-second_order_unsteady_solver_test.$(OBJEXT): \ solvers/$(am__dirstamp) solvers/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_prof-constraint_operator_test.$(OBJEXT): \ systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) +systems/unit_tests_prof-dirichlet_constraint_values_test.$(OBJEXT): \ + systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_prof-equation_systems_test.$(OBJEXT): \ systems/$(am__dirstamp) systems/$(DEPDIR)/$(am__dirstamp) systems/unit_tests_prof-heterogeneous_nonlinear_constraint_test.$(OBJEXT): \ @@ -4981,6 +5007,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/unit_tests_prof-first_order_unsteady_solver_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@solvers/$(DEPDIR)/unit_tests_prof-second_order_unsteady_solver_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_dbg-constraint_operator_test.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_dbg-dirichlet_constraint_values_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_dbg-disjoint_neighbor_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_dbg-equation_systems_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_dbg-heterogeneous_nonlinear_constraint_test.Po@am__quote@ # am--include-marker @@ -4988,6 +5015,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_dbg-periodic_bc_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_dbg-systems_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_devel-constraint_operator_test.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_devel-dirichlet_constraint_values_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_devel-disjoint_neighbor_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_devel-equation_systems_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_devel-heterogeneous_nonlinear_constraint_test.Po@am__quote@ # am--include-marker @@ -4995,6 +5023,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_devel-periodic_bc_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_devel-systems_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_oprof-constraint_operator_test.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_oprof-dirichlet_constraint_values_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_oprof-disjoint_neighbor_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_oprof-equation_systems_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_oprof-heterogeneous_nonlinear_constraint_test.Po@am__quote@ # am--include-marker @@ -5002,6 +5031,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_oprof-periodic_bc_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_oprof-systems_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_opt-constraint_operator_test.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_opt-dirichlet_constraint_values_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_opt-disjoint_neighbor_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_opt-equation_systems_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_opt-heterogeneous_nonlinear_constraint_test.Po@am__quote@ # am--include-marker @@ -5009,6 +5039,7 @@ distclean-compile: @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_opt-periodic_bc_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_opt-systems_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_prof-constraint_operator_test.Po@am__quote@ # am--include-marker +@AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_prof-dirichlet_constraint_values_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_prof-disjoint_neighbor_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_prof-equation_systems_test.Po@am__quote@ # am--include-marker @AMDEP_TRUE@@am__include@ @am__quote@systems/$(DEPDIR)/unit_tests_prof-heterogeneous_nonlinear_constraint_test.Po@am__quote@ # am--include-marker @@ -6728,6 +6759,20 @@ systems/unit_tests_dbg-constraint_operator_test.obj: systems/constraint_operator @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_dbg_CPPFLAGS) $(CPPFLAGS) $(unit_tests_dbg_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_dbg-constraint_operator_test.obj `if test -f 'systems/constraint_operator_test.C'; then $(CYGPATH_W) 'systems/constraint_operator_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/constraint_operator_test.C'; fi` +systems/unit_tests_dbg-dirichlet_constraint_values_test.o: systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_dbg_CPPFLAGS) $(CPPFLAGS) $(unit_tests_dbg_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_dbg-dirichlet_constraint_values_test.o -MD -MP -MF systems/$(DEPDIR)/unit_tests_dbg-dirichlet_constraint_values_test.Tpo -c -o systems/unit_tests_dbg-dirichlet_constraint_values_test.o `test -f 'systems/dirichlet_constraint_values_test.C' || echo '$(srcdir)/'`systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_dbg-dirichlet_constraint_values_test.Tpo systems/$(DEPDIR)/unit_tests_dbg-dirichlet_constraint_values_test.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='systems/dirichlet_constraint_values_test.C' object='systems/unit_tests_dbg-dirichlet_constraint_values_test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_dbg_CPPFLAGS) $(CPPFLAGS) $(unit_tests_dbg_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_dbg-dirichlet_constraint_values_test.o `test -f 'systems/dirichlet_constraint_values_test.C' || echo '$(srcdir)/'`systems/dirichlet_constraint_values_test.C + +systems/unit_tests_dbg-dirichlet_constraint_values_test.obj: systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_dbg_CPPFLAGS) $(CPPFLAGS) $(unit_tests_dbg_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_dbg-dirichlet_constraint_values_test.obj -MD -MP -MF systems/$(DEPDIR)/unit_tests_dbg-dirichlet_constraint_values_test.Tpo -c -o systems/unit_tests_dbg-dirichlet_constraint_values_test.obj `if test -f 'systems/dirichlet_constraint_values_test.C'; then $(CYGPATH_W) 'systems/dirichlet_constraint_values_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/dirichlet_constraint_values_test.C'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_dbg-dirichlet_constraint_values_test.Tpo systems/$(DEPDIR)/unit_tests_dbg-dirichlet_constraint_values_test.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='systems/dirichlet_constraint_values_test.C' object='systems/unit_tests_dbg-dirichlet_constraint_values_test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_dbg_CPPFLAGS) $(CPPFLAGS) $(unit_tests_dbg_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_dbg-dirichlet_constraint_values_test.obj `if test -f 'systems/dirichlet_constraint_values_test.C'; then $(CYGPATH_W) 'systems/dirichlet_constraint_values_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/dirichlet_constraint_values_test.C'; fi` + systems/unit_tests_dbg-equation_systems_test.o: systems/equation_systems_test.C @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_dbg_CPPFLAGS) $(CPPFLAGS) $(unit_tests_dbg_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_dbg-equation_systems_test.o -MD -MP -MF systems/$(DEPDIR)/unit_tests_dbg-equation_systems_test.Tpo -c -o systems/unit_tests_dbg-equation_systems_test.o `test -f 'systems/equation_systems_test.C' || echo '$(srcdir)/'`systems/equation_systems_test.C @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_dbg-equation_systems_test.Tpo systems/$(DEPDIR)/unit_tests_dbg-equation_systems_test.Po @@ -8562,6 +8607,20 @@ systems/unit_tests_devel-constraint_operator_test.obj: systems/constraint_operat @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_devel_CPPFLAGS) $(CPPFLAGS) $(unit_tests_devel_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_devel-constraint_operator_test.obj `if test -f 'systems/constraint_operator_test.C'; then $(CYGPATH_W) 'systems/constraint_operator_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/constraint_operator_test.C'; fi` +systems/unit_tests_devel-dirichlet_constraint_values_test.o: systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_devel_CPPFLAGS) $(CPPFLAGS) $(unit_tests_devel_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_devel-dirichlet_constraint_values_test.o -MD -MP -MF systems/$(DEPDIR)/unit_tests_devel-dirichlet_constraint_values_test.Tpo -c -o systems/unit_tests_devel-dirichlet_constraint_values_test.o `test -f 'systems/dirichlet_constraint_values_test.C' || echo '$(srcdir)/'`systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_devel-dirichlet_constraint_values_test.Tpo systems/$(DEPDIR)/unit_tests_devel-dirichlet_constraint_values_test.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='systems/dirichlet_constraint_values_test.C' object='systems/unit_tests_devel-dirichlet_constraint_values_test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_devel_CPPFLAGS) $(CPPFLAGS) $(unit_tests_devel_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_devel-dirichlet_constraint_values_test.o `test -f 'systems/dirichlet_constraint_values_test.C' || echo '$(srcdir)/'`systems/dirichlet_constraint_values_test.C + +systems/unit_tests_devel-dirichlet_constraint_values_test.obj: systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_devel_CPPFLAGS) $(CPPFLAGS) $(unit_tests_devel_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_devel-dirichlet_constraint_values_test.obj -MD -MP -MF systems/$(DEPDIR)/unit_tests_devel-dirichlet_constraint_values_test.Tpo -c -o systems/unit_tests_devel-dirichlet_constraint_values_test.obj `if test -f 'systems/dirichlet_constraint_values_test.C'; then $(CYGPATH_W) 'systems/dirichlet_constraint_values_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/dirichlet_constraint_values_test.C'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_devel-dirichlet_constraint_values_test.Tpo systems/$(DEPDIR)/unit_tests_devel-dirichlet_constraint_values_test.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='systems/dirichlet_constraint_values_test.C' object='systems/unit_tests_devel-dirichlet_constraint_values_test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_devel_CPPFLAGS) $(CPPFLAGS) $(unit_tests_devel_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_devel-dirichlet_constraint_values_test.obj `if test -f 'systems/dirichlet_constraint_values_test.C'; then $(CYGPATH_W) 'systems/dirichlet_constraint_values_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/dirichlet_constraint_values_test.C'; fi` + systems/unit_tests_devel-equation_systems_test.o: systems/equation_systems_test.C @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_devel_CPPFLAGS) $(CPPFLAGS) $(unit_tests_devel_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_devel-equation_systems_test.o -MD -MP -MF systems/$(DEPDIR)/unit_tests_devel-equation_systems_test.Tpo -c -o systems/unit_tests_devel-equation_systems_test.o `test -f 'systems/equation_systems_test.C' || echo '$(srcdir)/'`systems/equation_systems_test.C @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_devel-equation_systems_test.Tpo systems/$(DEPDIR)/unit_tests_devel-equation_systems_test.Po @@ -10396,6 +10455,20 @@ systems/unit_tests_oprof-constraint_operator_test.obj: systems/constraint_operat @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_oprof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_oprof_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_oprof-constraint_operator_test.obj `if test -f 'systems/constraint_operator_test.C'; then $(CYGPATH_W) 'systems/constraint_operator_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/constraint_operator_test.C'; fi` +systems/unit_tests_oprof-dirichlet_constraint_values_test.o: systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_oprof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_oprof_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_oprof-dirichlet_constraint_values_test.o -MD -MP -MF systems/$(DEPDIR)/unit_tests_oprof-dirichlet_constraint_values_test.Tpo -c -o systems/unit_tests_oprof-dirichlet_constraint_values_test.o `test -f 'systems/dirichlet_constraint_values_test.C' || echo '$(srcdir)/'`systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_oprof-dirichlet_constraint_values_test.Tpo systems/$(DEPDIR)/unit_tests_oprof-dirichlet_constraint_values_test.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='systems/dirichlet_constraint_values_test.C' object='systems/unit_tests_oprof-dirichlet_constraint_values_test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_oprof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_oprof_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_oprof-dirichlet_constraint_values_test.o `test -f 'systems/dirichlet_constraint_values_test.C' || echo '$(srcdir)/'`systems/dirichlet_constraint_values_test.C + +systems/unit_tests_oprof-dirichlet_constraint_values_test.obj: systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_oprof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_oprof_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_oprof-dirichlet_constraint_values_test.obj -MD -MP -MF systems/$(DEPDIR)/unit_tests_oprof-dirichlet_constraint_values_test.Tpo -c -o systems/unit_tests_oprof-dirichlet_constraint_values_test.obj `if test -f 'systems/dirichlet_constraint_values_test.C'; then $(CYGPATH_W) 'systems/dirichlet_constraint_values_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/dirichlet_constraint_values_test.C'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_oprof-dirichlet_constraint_values_test.Tpo systems/$(DEPDIR)/unit_tests_oprof-dirichlet_constraint_values_test.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='systems/dirichlet_constraint_values_test.C' object='systems/unit_tests_oprof-dirichlet_constraint_values_test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_oprof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_oprof_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_oprof-dirichlet_constraint_values_test.obj `if test -f 'systems/dirichlet_constraint_values_test.C'; then $(CYGPATH_W) 'systems/dirichlet_constraint_values_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/dirichlet_constraint_values_test.C'; fi` + systems/unit_tests_oprof-equation_systems_test.o: systems/equation_systems_test.C @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_oprof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_oprof_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_oprof-equation_systems_test.o -MD -MP -MF systems/$(DEPDIR)/unit_tests_oprof-equation_systems_test.Tpo -c -o systems/unit_tests_oprof-equation_systems_test.o `test -f 'systems/equation_systems_test.C' || echo '$(srcdir)/'`systems/equation_systems_test.C @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_oprof-equation_systems_test.Tpo systems/$(DEPDIR)/unit_tests_oprof-equation_systems_test.Po @@ -12230,6 +12303,20 @@ systems/unit_tests_opt-constraint_operator_test.obj: systems/constraint_operator @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_opt_CPPFLAGS) $(CPPFLAGS) $(unit_tests_opt_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_opt-constraint_operator_test.obj `if test -f 'systems/constraint_operator_test.C'; then $(CYGPATH_W) 'systems/constraint_operator_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/constraint_operator_test.C'; fi` +systems/unit_tests_opt-dirichlet_constraint_values_test.o: systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_opt_CPPFLAGS) $(CPPFLAGS) $(unit_tests_opt_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_opt-dirichlet_constraint_values_test.o -MD -MP -MF systems/$(DEPDIR)/unit_tests_opt-dirichlet_constraint_values_test.Tpo -c -o systems/unit_tests_opt-dirichlet_constraint_values_test.o `test -f 'systems/dirichlet_constraint_values_test.C' || echo '$(srcdir)/'`systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_opt-dirichlet_constraint_values_test.Tpo systems/$(DEPDIR)/unit_tests_opt-dirichlet_constraint_values_test.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='systems/dirichlet_constraint_values_test.C' object='systems/unit_tests_opt-dirichlet_constraint_values_test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_opt_CPPFLAGS) $(CPPFLAGS) $(unit_tests_opt_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_opt-dirichlet_constraint_values_test.o `test -f 'systems/dirichlet_constraint_values_test.C' || echo '$(srcdir)/'`systems/dirichlet_constraint_values_test.C + +systems/unit_tests_opt-dirichlet_constraint_values_test.obj: systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_opt_CPPFLAGS) $(CPPFLAGS) $(unit_tests_opt_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_opt-dirichlet_constraint_values_test.obj -MD -MP -MF systems/$(DEPDIR)/unit_tests_opt-dirichlet_constraint_values_test.Tpo -c -o systems/unit_tests_opt-dirichlet_constraint_values_test.obj `if test -f 'systems/dirichlet_constraint_values_test.C'; then $(CYGPATH_W) 'systems/dirichlet_constraint_values_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/dirichlet_constraint_values_test.C'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_opt-dirichlet_constraint_values_test.Tpo systems/$(DEPDIR)/unit_tests_opt-dirichlet_constraint_values_test.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='systems/dirichlet_constraint_values_test.C' object='systems/unit_tests_opt-dirichlet_constraint_values_test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_opt_CPPFLAGS) $(CPPFLAGS) $(unit_tests_opt_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_opt-dirichlet_constraint_values_test.obj `if test -f 'systems/dirichlet_constraint_values_test.C'; then $(CYGPATH_W) 'systems/dirichlet_constraint_values_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/dirichlet_constraint_values_test.C'; fi` + systems/unit_tests_opt-equation_systems_test.o: systems/equation_systems_test.C @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_opt_CPPFLAGS) $(CPPFLAGS) $(unit_tests_opt_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_opt-equation_systems_test.o -MD -MP -MF systems/$(DEPDIR)/unit_tests_opt-equation_systems_test.Tpo -c -o systems/unit_tests_opt-equation_systems_test.o `test -f 'systems/equation_systems_test.C' || echo '$(srcdir)/'`systems/equation_systems_test.C @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_opt-equation_systems_test.Tpo systems/$(DEPDIR)/unit_tests_opt-equation_systems_test.Po @@ -14064,6 +14151,20 @@ systems/unit_tests_prof-constraint_operator_test.obj: systems/constraint_operato @AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ @am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_prof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_prof_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_prof-constraint_operator_test.obj `if test -f 'systems/constraint_operator_test.C'; then $(CYGPATH_W) 'systems/constraint_operator_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/constraint_operator_test.C'; fi` +systems/unit_tests_prof-dirichlet_constraint_values_test.o: systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_prof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_prof_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_prof-dirichlet_constraint_values_test.o -MD -MP -MF systems/$(DEPDIR)/unit_tests_prof-dirichlet_constraint_values_test.Tpo -c -o systems/unit_tests_prof-dirichlet_constraint_values_test.o `test -f 'systems/dirichlet_constraint_values_test.C' || echo '$(srcdir)/'`systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_prof-dirichlet_constraint_values_test.Tpo systems/$(DEPDIR)/unit_tests_prof-dirichlet_constraint_values_test.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='systems/dirichlet_constraint_values_test.C' object='systems/unit_tests_prof-dirichlet_constraint_values_test.o' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_prof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_prof_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_prof-dirichlet_constraint_values_test.o `test -f 'systems/dirichlet_constraint_values_test.C' || echo '$(srcdir)/'`systems/dirichlet_constraint_values_test.C + +systems/unit_tests_prof-dirichlet_constraint_values_test.obj: systems/dirichlet_constraint_values_test.C +@am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_prof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_prof_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_prof-dirichlet_constraint_values_test.obj -MD -MP -MF systems/$(DEPDIR)/unit_tests_prof-dirichlet_constraint_values_test.Tpo -c -o systems/unit_tests_prof-dirichlet_constraint_values_test.obj `if test -f 'systems/dirichlet_constraint_values_test.C'; then $(CYGPATH_W) 'systems/dirichlet_constraint_values_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/dirichlet_constraint_values_test.C'; fi` +@am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_prof-dirichlet_constraint_values_test.Tpo systems/$(DEPDIR)/unit_tests_prof-dirichlet_constraint_values_test.Po +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ $(AM_V_CXX)source='systems/dirichlet_constraint_values_test.C' object='systems/unit_tests_prof-dirichlet_constraint_values_test.obj' libtool=no @AMDEPBACKSLASH@ +@AMDEP_TRUE@@am__fastdepCXX_FALSE@ DEPDIR=$(DEPDIR) $(CXXDEPMODE) $(depcomp) @AMDEPBACKSLASH@ +@am__fastdepCXX_FALSE@ $(AM_V_CXX@am__nodep@)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_prof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_prof_CXXFLAGS) $(CXXFLAGS) -c -o systems/unit_tests_prof-dirichlet_constraint_values_test.obj `if test -f 'systems/dirichlet_constraint_values_test.C'; then $(CYGPATH_W) 'systems/dirichlet_constraint_values_test.C'; else $(CYGPATH_W) '$(srcdir)/systems/dirichlet_constraint_values_test.C'; fi` + systems/unit_tests_prof-equation_systems_test.o: systems/equation_systems_test.C @am__fastdepCXX_TRUE@ $(AM_V_CXX)$(CXX) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(unit_tests_prof_CPPFLAGS) $(CPPFLAGS) $(unit_tests_prof_CXXFLAGS) $(CXXFLAGS) -MT systems/unit_tests_prof-equation_systems_test.o -MD -MP -MF systems/$(DEPDIR)/unit_tests_prof-equation_systems_test.Tpo -c -o systems/unit_tests_prof-equation_systems_test.o `test -f 'systems/equation_systems_test.C' || echo '$(srcdir)/'`systems/equation_systems_test.C @am__fastdepCXX_TRUE@ $(AM_V_at)$(am__mv) systems/$(DEPDIR)/unit_tests_prof-equation_systems_test.Tpo systems/$(DEPDIR)/unit_tests_prof-equation_systems_test.Po @@ -15200,6 +15301,7 @@ distclean: distclean-am -rm -f solvers/$(DEPDIR)/unit_tests_prof-first_order_unsteady_solver_test.Po -rm -f solvers/$(DEPDIR)/unit_tests_prof-second_order_unsteady_solver_test.Po -rm -f systems/$(DEPDIR)/unit_tests_dbg-constraint_operator_test.Po + -rm -f systems/$(DEPDIR)/unit_tests_dbg-dirichlet_constraint_values_test.Po -rm -f systems/$(DEPDIR)/unit_tests_dbg-disjoint_neighbor_test.Po -rm -f systems/$(DEPDIR)/unit_tests_dbg-equation_systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_dbg-heterogeneous_nonlinear_constraint_test.Po @@ -15207,6 +15309,7 @@ distclean: distclean-am -rm -f systems/$(DEPDIR)/unit_tests_dbg-periodic_bc_test.Po -rm -f systems/$(DEPDIR)/unit_tests_dbg-systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_devel-constraint_operator_test.Po + -rm -f systems/$(DEPDIR)/unit_tests_devel-dirichlet_constraint_values_test.Po -rm -f systems/$(DEPDIR)/unit_tests_devel-disjoint_neighbor_test.Po -rm -f systems/$(DEPDIR)/unit_tests_devel-equation_systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_devel-heterogeneous_nonlinear_constraint_test.Po @@ -15214,6 +15317,7 @@ distclean: distclean-am -rm -f systems/$(DEPDIR)/unit_tests_devel-periodic_bc_test.Po -rm -f systems/$(DEPDIR)/unit_tests_devel-systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_oprof-constraint_operator_test.Po + -rm -f systems/$(DEPDIR)/unit_tests_oprof-dirichlet_constraint_values_test.Po -rm -f systems/$(DEPDIR)/unit_tests_oprof-disjoint_neighbor_test.Po -rm -f systems/$(DEPDIR)/unit_tests_oprof-equation_systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_oprof-heterogeneous_nonlinear_constraint_test.Po @@ -15221,6 +15325,7 @@ distclean: distclean-am -rm -f systems/$(DEPDIR)/unit_tests_oprof-periodic_bc_test.Po -rm -f systems/$(DEPDIR)/unit_tests_oprof-systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_opt-constraint_operator_test.Po + -rm -f systems/$(DEPDIR)/unit_tests_opt-dirichlet_constraint_values_test.Po -rm -f systems/$(DEPDIR)/unit_tests_opt-disjoint_neighbor_test.Po -rm -f systems/$(DEPDIR)/unit_tests_opt-equation_systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_opt-heterogeneous_nonlinear_constraint_test.Po @@ -15228,6 +15333,7 @@ distclean: distclean-am -rm -f systems/$(DEPDIR)/unit_tests_opt-periodic_bc_test.Po -rm -f systems/$(DEPDIR)/unit_tests_opt-systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_prof-constraint_operator_test.Po + -rm -f systems/$(DEPDIR)/unit_tests_prof-dirichlet_constraint_values_test.Po -rm -f systems/$(DEPDIR)/unit_tests_prof-disjoint_neighbor_test.Po -rm -f systems/$(DEPDIR)/unit_tests_prof-equation_systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_prof-heterogeneous_nonlinear_constraint_test.Po @@ -15902,6 +16008,7 @@ maintainer-clean: maintainer-clean-am -rm -f solvers/$(DEPDIR)/unit_tests_prof-first_order_unsteady_solver_test.Po -rm -f solvers/$(DEPDIR)/unit_tests_prof-second_order_unsteady_solver_test.Po -rm -f systems/$(DEPDIR)/unit_tests_dbg-constraint_operator_test.Po + -rm -f systems/$(DEPDIR)/unit_tests_dbg-dirichlet_constraint_values_test.Po -rm -f systems/$(DEPDIR)/unit_tests_dbg-disjoint_neighbor_test.Po -rm -f systems/$(DEPDIR)/unit_tests_dbg-equation_systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_dbg-heterogeneous_nonlinear_constraint_test.Po @@ -15909,6 +16016,7 @@ maintainer-clean: maintainer-clean-am -rm -f systems/$(DEPDIR)/unit_tests_dbg-periodic_bc_test.Po -rm -f systems/$(DEPDIR)/unit_tests_dbg-systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_devel-constraint_operator_test.Po + -rm -f systems/$(DEPDIR)/unit_tests_devel-dirichlet_constraint_values_test.Po -rm -f systems/$(DEPDIR)/unit_tests_devel-disjoint_neighbor_test.Po -rm -f systems/$(DEPDIR)/unit_tests_devel-equation_systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_devel-heterogeneous_nonlinear_constraint_test.Po @@ -15916,6 +16024,7 @@ maintainer-clean: maintainer-clean-am -rm -f systems/$(DEPDIR)/unit_tests_devel-periodic_bc_test.Po -rm -f systems/$(DEPDIR)/unit_tests_devel-systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_oprof-constraint_operator_test.Po + -rm -f systems/$(DEPDIR)/unit_tests_oprof-dirichlet_constraint_values_test.Po -rm -f systems/$(DEPDIR)/unit_tests_oprof-disjoint_neighbor_test.Po -rm -f systems/$(DEPDIR)/unit_tests_oprof-equation_systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_oprof-heterogeneous_nonlinear_constraint_test.Po @@ -15923,6 +16032,7 @@ maintainer-clean: maintainer-clean-am -rm -f systems/$(DEPDIR)/unit_tests_oprof-periodic_bc_test.Po -rm -f systems/$(DEPDIR)/unit_tests_oprof-systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_opt-constraint_operator_test.Po + -rm -f systems/$(DEPDIR)/unit_tests_opt-dirichlet_constraint_values_test.Po -rm -f systems/$(DEPDIR)/unit_tests_opt-disjoint_neighbor_test.Po -rm -f systems/$(DEPDIR)/unit_tests_opt-equation_systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_opt-heterogeneous_nonlinear_constraint_test.Po @@ -15930,6 +16040,7 @@ maintainer-clean: maintainer-clean-am -rm -f systems/$(DEPDIR)/unit_tests_opt-periodic_bc_test.Po -rm -f systems/$(DEPDIR)/unit_tests_opt-systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_prof-constraint_operator_test.Po + -rm -f systems/$(DEPDIR)/unit_tests_prof-dirichlet_constraint_values_test.Po -rm -f systems/$(DEPDIR)/unit_tests_prof-disjoint_neighbor_test.Po -rm -f systems/$(DEPDIR)/unit_tests_prof-equation_systems_test.Po -rm -f systems/$(DEPDIR)/unit_tests_prof-heterogeneous_nonlinear_constraint_test.Po diff --git a/tests/systems/dirichlet_constraint_values_test.C b/tests/systems/dirichlet_constraint_values_test.C new file mode 100644 index 00000000000..6a9b1631d19 --- /dev/null +++ b/tests/systems/dirichlet_constraint_values_test.C @@ -0,0 +1,296 @@ +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include "test_comm.h" +#include "libmesh_cppunit.h" + +using namespace libMesh; + +namespace +{ +// build_square's boundary ids +const boundary_id_type bottom_id = 0, right_id = 1, top_id = 2, left_id = 3; + +/** + * A time-dependent boundary value, g = scale * (1 + t) * (1 + x + 2 y) + */ +class RampFunction : public FunctionBase +{ +public: + RampFunction(const Real scale) : _scale(scale) {} + + virtual std::unique_ptr> clone() const override + { + return std::make_unique(_scale); + } + + virtual Number operator()(const Point & p, const Real time = 0.) override + { + return _scale * (1 + time) * (1 + p(0) + 2 * p(1)); + } + + virtual void operator()(const Point & p, const Real time, DenseVector & output) override + { + for (auto i : make_range(output.size())) + output(i) = (*this)(p, time); + } + +private: + const Real _scale; +}; + +/** + * The processed constraint right-hand side of each constrained degree + * of freedom this processor owns + */ +std::map gather_local_rhs(DofMap & dof_map) +{ + std::map rhs; + const auto & values = dof_map.get_primal_constraint_values(); + for (const auto & [dof, row] : dof_map.get_dof_constraints()) + if (dof_map.local_index(dof)) + { + libmesh_ignore(row); + const auto it = values.find(dof); + rhs[dof] = it == values.end() ? Number(0) : it->second; + } + return rhs; +} + +/** + * The processed constraint row of each constrained degree of freedom + * this processor owns + */ +std::map gather_local_rows(const DofMap & dof_map) +{ + std::map rows; + for (const auto & [dof, row] : dof_map.get_dof_constraints()) + if (dof_map.local_index(dof)) + rows[dof] = row; + return rows; +} + +/** + * Checks that the processed constraints of \p dof_map match \p rows + * and \p rhs exactly + */ +void assert_constraints_equal(const std::map & rows, + const std::map & rhs, + DofMap & dof_map) +{ + const auto other_rows = gather_local_rows(dof_map); + const auto other_rhs = gather_local_rhs(dof_map); + + CPPUNIT_ASSERT_EQUAL(rows.size(), other_rows.size()); + for (const auto & [dof, row] : rows) + { + const auto it = other_rows.find(dof); + CPPUNIT_ASSERT(it != other_rows.end()); + CPPUNIT_ASSERT_EQUAL(row.size(), it->second.size()); + for (const auto & [constraining_dof, coef] : row) + { + const auto jt = it->second.find(constraining_dof); + CPPUNIT_ASSERT(jt != it->second.end()); + CPPUNIT_ASSERT_EQUAL(coef, jt->second); + } + } + + CPPUNIT_ASSERT_EQUAL(rhs.size(), other_rhs.size()); + for (const auto & [dof, value] : rhs) + CPPUNIT_ASSERT_EQUAL(value, libmesh_map_find(other_rhs, dof)); +} +} + +class DirichletConstraintValuesTest : public CppUnit::TestCase +{ +public: + LIBMESH_CPPUNIT_TEST_SUITE(DirichletConstraintValuesTest); + +#if LIBMESH_DIM > 1 +#if defined(LIBMESH_ENABLE_DIRICHLET) && defined(LIBMESH_ENABLE_PERIODIC) && \ + defined(LIBMESH_ENABLE_AMR) + CPPUNIT_TEST(testUpdateMatchesRebuild); +#endif +#endif +#if defined(LIBMESH_ENABLE_DIRICHLET) && defined(LIBMESH_HAVE_SOLVER) + CPPUNIT_TEST(testSplineConstraintRows); +#endif + + CPPUNIT_TEST_SUITE_END(); + +private: + void testUpdateMatchesRebuild() + { + LOG_UNIT_TEST; + checkUpdate(4); + } + + /** + * Checks that System::reinit_dirichlet_constraint_values() gives + * exactly the result of System::reinit_constraints() on a mesh with + * spline constraint rows. The mesh is a line of 10 EDGE2 elements. + * The constraint rows tie its nodes to 6 spline nodes. The Dirichlet + * boundary is on a constrained node. Thus the processing of the + * constraint rows projects the Dirichlet value onto the spline + * nodes. + */ + void testSplineConstraintRows() + { + LOG_UNIT_TEST; + + Mesh mesh(*TestCommWorld); + EquationSystems es(mesh); + auto & sys = es.add_system("sys"); + const auto u = sys.add_variable("u", FIRST); + + // The constraint operator below uses the node numbering of + // build_line + mesh.allow_renumbering(false); + MeshTools::Generation::build_line(mesh, 10, 0., 1., EDGE2); + + // Each interior even node is a spline node. Each odd node takes + // the mean of its two neighbors. The left node takes a combination + // of a new spline node and the next spline node, and the right node + // is a spline node. Processor 0 owns all rows of the operator. + auto matrix = SparseMatrix::build(mesh.comm()); + const bool rank0 = !mesh.comm().rank(); + matrix->init(11, 6, rank0 ? 11 : 0, rank0 ? 6 : 0, rank0 ? 6 : 0, 0); + if (rank0) + { + matrix->set(0, 0, 0.75); + matrix->set(0, 1, 0.25); + for (const auto i : make_range(5)) + { + if (i) + matrix->set(i*2, i, 1); + matrix->set(i*2+1, i, 0.5); + matrix->set(i*2+1, i+1, 0.5); + } + matrix->set(10, 5, 1); + } + matrix->close(); + mesh.copy_constraint_rows(*matrix); + mesh.prepare_for_use(); + + // build_line's left boundary id + sys.get_dof_map().add_dirichlet_boundary(DirichletBoundary({0}, {u}, RampFunction(1.))); + + es.init(); + + auto & dof_map = sys.get_dof_map(); + for (const Real time : {0., 0.5, 2.}) + { + sys.time = time; + sys.reinit_constraints(); + const auto rebuilt_rows = gather_local_rows(dof_map); + const auto rebuilt_rhs = gather_local_rhs(dof_map); + + sys.reinit_dirichlet_constraint_values(); + assert_constraints_equal(rebuilt_rows, rebuilt_rhs, dof_map); + } + } + + /** + * Checks that System::reinit_dirichlet_constraint_values() gives + * exactly the result of System::reinit_constraints(). The mesh is an + * n x n grid of QUAD9 elements with hanging nodes and a periodic + * boundary. The periodic partners meet overlapping time-dependent + * Dirichlet boundaries. + */ + void checkUpdate(const unsigned int n) + { + Mesh mesh(*TestCommWorld); + + // Keep all neighbors until the periodic boundary is attached. The + // periodic boundary needs them. + mesh.allow_remote_element_removal(false); + MeshTools::Generation::build_square(mesh, n, n, 0., 1., 0., 1., QUAD9); + + EquationSystems es(mesh); + auto & sys = es.add_system("sys"); + const auto u = sys.add_variable("u", SECOND, HIERARCHIC); + const auto v = sys.add_variable("v", SECOND, LAGRANGE); + + // The mesh is periodic in y. Thus periodic partners meet the + // Dirichlet boundaries at the corners. + PeriodicBoundary periodic(RealVectorValue(0., 1.)); + periodic.myboundary = bottom_id; + periodic.pairedboundary = top_id; + sys.get_dof_map().add_periodic_boundary(periodic); + + mesh.allow_remote_element_removal(true); + mesh.prepare_for_use(); + + // Add two overlapping time-dependent boundaries. The first claims u + // and v on the left. The second claims u on the left and right. + // The first boundary keeps the left side. + sys.get_dof_map().add_dirichlet_boundary( + DirichletBoundary({left_id}, {u, v}, RampFunction(1.))); + sys.get_dof_map().add_dirichlet_boundary( + DirichletBoundary({left_id, right_id}, {u}, RampFunction(-3.))); + + // Refine the elements near the left boundary. Then the hanging + // nodes on the refined/unrefined interface reach the Dirichlet and + // periodic boundaries. + MeshRefinement refinement(mesh); + for (auto & elem : mesh.active_element_ptr_range()) + { + if (elem->vertex_average()(0) < 0.3) + elem->set_refinement_flag(Elem::REFINE); + } + refinement.refine_elements(); + + es.init(); + + auto & dof_map = sys.get_dof_map(); + + for (const Real time : {0., 0.25, 1., 2.5}) + { + sys.time = time; + + sys.reinit_constraints(); + const auto rebuilt_rows = gather_local_rows(dof_map); + const auto rebuilt_rhs = gather_local_rhs(dof_map); + + // The update must give the same result from any state that the + // last processing left + sys.reinit_dirichlet_constraint_values(); + assert_constraints_equal(rebuilt_rows, rebuilt_rhs, dof_map); + const auto updated_rhs = gather_local_rhs(dof_map); + + // The values must change with time. Otherwise the comparison + // above could pass on stale values. + bool any_nonzero = false; + for (const auto & [dof, value] : updated_rhs) + { + libmesh_ignore(dof); + any_nonzero = any_nonzero || value != Number(0); + } + TestCommWorld->max(any_nonzero); + CPPUNIT_ASSERT(any_nonzero); + } + + // Two consecutive updates, with no full rebuild between them, must + // also agree with a new full rebuild + sys.time = 4.; + sys.reinit_dirichlet_constraint_values(); + sys.reinit_dirichlet_constraint_values(); + const auto twice_updated_rows = gather_local_rows(dof_map); + const auto twice_updated_rhs = gather_local_rhs(dof_map); + sys.reinit_constraints(); + assert_constraints_equal(twice_updated_rows, twice_updated_rhs, dof_map); + } +}; + +CPPUNIT_TEST_SUITE_REGISTRATION(DirichletConstraintValuesTest);