* Main class
*/
template <int dim>
-class MeshWorkerAffineConstraints<double> Test
+class MeshWorkerConstraintMatrixTest
{
public:
- MeshWorkerAffineConstraints<double>
- Test(const FiniteElement<dim> &fe);
- ~MeshWorkerAffineConstraints<double>
- Test();
+ MeshWorkerConstraintMatrixTest(const FiniteElement<dim> &fe);
+ ~MeshWorkerConstraintMatrixTest();
void
run();
template <int dim>
-MeshWorkerAffineConstraints<double>
- Test<dim>::MeshWorkerAffineConstraints<double>
- Test(const FiniteElement<dim> &fe)
+MeshWorkerConstraintMatrixTest<dim>::MeshWorkerConstraintMatrixTest(
+ const FiniteElement<dim> &fe)
: mapping()
, dof_handler(triangulation)
, fe(fe)
template <int dim>
-MeshWorkerAffineConstraints<double>
- Test<dim>::~MeshWorkerAffineConstraints<double>
- Test()
+MeshWorkerConstraintMatrixTest<dim>::~MeshWorkerConstraintMatrixTest()
{
dof_handler.clear();
}
template <int dim>
-void MeshWorkerAffineConstraints<double>
- Test<dim>::setup_system()
+void
+MeshWorkerConstraintMatrixTest<dim>::setup_system()
{
dof_handler.distribute_dofs(fe);
* Assemble with SystemSimple
*/
template <int dim>
-void MeshWorkerAffineConstraints<double>
- Test<dim>::assemble_system_MeshWorker()
+void
+MeshWorkerConstraintMatrixTest<dim>::assemble_system_MeshWorker()
{
MeshWorker::IntegrationInfoBox<dim> info_box;
* Assemble matrix and vector separately
*/
template <int dim>
-void MeshWorkerAffineConstraints<double>
- Test<dim>::assemble_MeshWorker()
+void
+MeshWorkerConstraintMatrixTest<dim>::assemble_MeshWorker()
{
MeshWorker::IntegrationInfoBox<dim> info_box;
template <int dim>
-void MeshWorkerAffineConstraints<double>
- Test<dim>::createInhomConstraints()
+void
+MeshWorkerConstraintMatrixTest<dim>::createInhomConstraints()
{
this->constraintsInhom.clear();
// boundary constraints
template <int dim>
-void MeshWorkerAffineConstraints<double>
- Test<dim>::run()
+void
+MeshWorkerConstraintMatrixTest<dim>::run()
{
setup_system();
createInhomConstraints();
FE_Q<2> fe(1);
deallog.push(fe.get_name());
- MeshWorkerAffineConstraints<double> Test<2> test(fe);
+ MeshWorkerConstraintMatrixTest<2> test(fe);
test.run();
deallog.pop();
FE_DGQ<2> fe2(1);
deallog.push(fe2.get_name());
- MeshWorkerAffineConstraints<double> Test<2> test2(fe2);
+ MeshWorkerConstraintMatrixTest<2> test2(fe2);
test2.run();
deallog.pop();
}