# TODO: A more sophisticated way to get the relative include path:
GET_FILENAME_COMPONENT(_path ${_full_file} PATH)
GET_FILENAME_COMPONENT(_path ${_path} NAME)
- IF("${_path}" STREQUAL "std_cxx1x")
- SET(_path "base/std_cxx1x")
+ IF("${_path}" STREQUAL "std_cxx11")
+ SET(_path "base/std_cxx11")
ENDIF()
FOREACH(_build ${DEAL_II_BUILD_TYPES})
DataOutBase::VtkFlags vtkflags;
DataOutBase::Deal_II_IntermediateFlags deal_II_intermediateflags;
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
WRITE(dx);
if (dim==2)
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_dx(patches, names, vectors, flags, out);
}
std::vector<std::string> names(1);
names[0] = "CutOff";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_dx(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_eps(patches, names, vectors, flags, out);
}
std::vector<std::string> names(1);
names[0] = "CutOff";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_eps(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_gmv(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_gnuplot(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_povray(patches, names, vectors, flags, out);
}
std::vector<std::string> names(1);
names[0] = "CutOff";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_povray(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_tecplot(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_tecplot_binary(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_vtk(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_vtk(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_vtk(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_vtk(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_vtu(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_vtu(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_vtu(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
DataOutBase::write_vtu(patches, names, vectors, flags, out);
}
names[2] = "x3";
names[3] = "x4";
names[4] = "i";
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
std::ostringstream old_data;
DataOutBase::write_deal_II_intermediate(patches, names, vectors,
WorkStream::run(v.begin(),
v.end(),
&assemble,
- std_cxx1x::bind(©,
- std_cxx1x::ref(result),
- std_cxx1x::_1),
+ std_cxx11::bind(©,
+ std_cxx11::ref(result),
+ std_cxx11::_1),
scratch_data(), copy_data());
std::cout << "result: " << result << std::endl;
DataOutBase::DXFlags dxflags;
DataOutBase::GnuplotFlags gflags;
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
if (dim==2)
DataOutBase::write_gnuplot(patches, names, vectors, gflags, out);
else
q[d] = d;
ScalarFunctionFromFunctionObject<dim>
- object (std_cxx1x::bind (&Point<dim>::distance,
+ object (std_cxx11::bind (&Point<dim>::distance,
q,
- std_cxx1x::_1));
+ std_cxx11::_1));
for (unsigned int i=0; i<10; ++i)
{
q[d] = d;
ScalarFunctionFromFunctionObject<dim>
- object (std_cxx1x::bind (&Point<dim>::distance,
+ object (std_cxx11::bind (&Point<dim>::distance,
q,
- std_cxx1x::_1));
+ std_cxx11::_1));
for (unsigned int i=0; i<10; ++i)
{
// now interpolate the function x*y*z onto points. note that this function is
// (bi/tri)linear and so we can later know what the correct value is that the
// function should provide
-Table<1,double> fill (const std_cxx1x::array<std::vector<double>,1> &coordinates)
+Table<1,double> fill (const std_cxx11::array<std::vector<double>,1> &coordinates)
{
Table<1,double> data(coordinates[0].size());
for (unsigned int i=0; i<coordinates[0].size(); ++i)
return data;
}
-Table<2,double> fill (const std_cxx1x::array<std::vector<double>,2> &coordinates)
+Table<2,double> fill (const std_cxx11::array<std::vector<double>,2> &coordinates)
{
Table<2,double> data(coordinates[0].size(),
coordinates[1].size());
return data;
}
-Table<3,double> fill (const std_cxx1x::array<std::vector<double>,3> &coordinates)
+Table<3,double> fill (const std_cxx11::array<std::vector<double>,3> &coordinates)
{
Table<3,double> data(coordinates[0].size(),
coordinates[1].size(),
{
// have coordinate arrays that span an interval starting at d+1
// d+5 nonuniform intervals
- std_cxx1x::array<std::vector<double>,dim> coordinates;
+ std_cxx11::array<std::vector<double>,dim> coordinates;
for (unsigned int d=0; d<dim; ++d)
for (unsigned int i=0; i<d+5; ++i)
coordinates[d].push_back (d+1 + 1.*i*i);
// now interpolate the function x*y*z onto points. note that this function is
// (bi/tri)linear and so we can later know what the correct value is that the
// function should provide
-Table<1,double> fill (const std_cxx1x::array<std::vector<double>,1> &coordinates)
+Table<1,double> fill (const std_cxx11::array<std::vector<double>,1> &coordinates)
{
Table<1,double> data(coordinates[0].size());
for (unsigned int i=0; i<coordinates[0].size(); ++i)
return data;
}
-Table<2,double> fill (const std_cxx1x::array<std::vector<double>,2> &coordinates)
+Table<2,double> fill (const std_cxx11::array<std::vector<double>,2> &coordinates)
{
Table<2,double> data(coordinates[0].size(),
coordinates[1].size());
return data;
}
-Table<3,double> fill (const std_cxx1x::array<std::vector<double>,3> &coordinates)
+Table<3,double> fill (const std_cxx11::array<std::vector<double>,3> &coordinates)
{
Table<3,double> data(coordinates[0].size(),
coordinates[1].size(),
{
// have coordinate arrays that span an interval starting at d+1
// d+5 nonuniform intervals
- std_cxx1x::array<std::pair<double,double>,dim> intervals;
- std_cxx1x::array<unsigned int,dim> n_subintervals;
+ std_cxx11::array<std::pair<double,double>,dim> intervals;
+ std_cxx11::array<unsigned int,dim> n_subintervals;
for (unsigned int d=0; d<dim; ++d)
{
intervals[d] = std::make_pair(d+2., 2*d+5.);
n_subintervals[d] = d+1 + d*d;
}
- std_cxx1x::array<std::vector<double>,dim> coordinates;
+ std_cxx11::array<std::vector<double>,dim> coordinates;
for (unsigned int d=0; d<dim; ++d)
{
const double x = intervals[d].first;
DataOutBase::DXFlags dxflags;
DataOutBase::GnuplotFlags gflags;
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> > vectors;
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> > vectors;
if (dim==2)
DataOutBase::write_gnuplot(patches, names, vectors, gflags, out);
else
typename DoFHandler<dim>::active_cell_iterator cell(dof_handler.begin_active());
std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring(
GraphColoring::make_graph_coloring(cell,dof_handler.end(),
- std_cxx1x::function<std::vector<types::global_dof_index> (typename
+ std_cxx11::function<std::vector<types::global_dof_index> (typename
DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
// Output the coloring
// Create the coloring
std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring(
GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
- std_cxx1x::function<std::vector<types::global_dof_index> (typename
+ std_cxx11::function<std::vector<types::global_dof_index> (typename
DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
// Output the coloring
// Create the coloring
std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring(
GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
- std_cxx1x::function<std::vector<types::global_dof_index> (typename
+ std_cxx11::function<std::vector<types::global_dof_index> (typename
DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
// verify that within each color, there is no conflict
// Create the coloring
std::vector<std::vector<typename hp::DoFHandler<dim>::active_cell_iterator> > coloring(
GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
- std_cxx1x::function<std::vector<types::global_dof_index> (typename
+ std_cxx11::function<std::vector<types::global_dof_index> (typename
hp::DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
// Output the coloring
std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring
= GraphColoring::make_graph_coloring(stokes_dof_handler.begin_active(),
stokes_dof_handler.end(),
- std_cxx1x::function<std::vector<types::global_dof_index> (
+ std_cxx11::function<std::vector<types::global_dof_index> (
const typename DoFHandler<dim>::active_cell_iterator &)>(&get_conflict_indices<dim>));
for (unsigned int c=0; c<coloring.size(); ++c)
// Create the coloring
std::vector<std::vector<typename DoFHandler<dim>::active_cell_iterator> > coloring(
GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
- std_cxx1x::function<std::vector<types::global_dof_index> (typename
+ std_cxx11::function<std::vector<types::global_dof_index> (typename
DoFHandler<dim>::active_cell_iterator const &)> (&get_conflict_indices_cfem<dim>)));
// Check that a color does not contain a conflict index twice
coloring
= GraphColoring::make_graph_coloring(dof_handler.begin_active(),
dof_handler.end(),
- std_cxx1x::function<std::vector<types::global_dof_index>
+ std_cxx11::function<std::vector<types::global_dof_index>
(typename DoFHandler<dim>::active_cell_iterator const &)>
(&get_conflict_indices_cfem<dim>));
void
test_shared_pointer()
{
- NamedData<std_cxx1x::shared_ptr<double> > data;
+ NamedData<std_cxx11::shared_ptr<double> > data;
deallog << "const" << data.is_const() << std::endl;
- std_cxx1x::shared_ptr<double> p = std_cxx1x::shared_ptr<double>(new double);
+ std_cxx11::shared_ptr<double> p = std_cxx11::shared_ptr<double>(new double);
data.add(p, "P1");
- p = std_cxx1x::shared_ptr<double>(new double);
+ p = std_cxx11::shared_ptr<double>(new double);
data.add(p, "P2");
- p = std_cxx1x::shared_ptr<double>(new double);
+ p = std_cxx11::shared_ptr<double>(new double);
data.add(p, "P3");
- p = std_cxx1x::shared_ptr<double>(new double);
+ p = std_cxx11::shared_ptr<double>(new double);
data.add(p, "P4");
- p = std_cxx1x::shared_ptr<double>(new double);
+ p = std_cxx11::shared_ptr<double>(new double);
data.add(p, "P5");
for (unsigned int i=0; i<data.size(); ++i)
}
void test(TimeStepping::RungeKutta<Vector<double> > &solver,
- std_cxx1x::function<Vector<double> (double const, Vector<double> const &)> f,
- std_cxx1x::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
- std_cxx1x::function<double (double const)> my)
+ std_cxx11::function<Vector<double> (double const, Vector<double> const &)> f,
+ std_cxx11::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
+ std_cxx11::function<double (double const)> my)
{
unsigned int n_time_steps = 1;
unsigned int size = 1;
}
void test2(TimeStepping::EmbeddedExplicitRungeKutta<Vector<double> > &solver,
- std_cxx1x::function<Vector<double> (double const, Vector<double> const &)> f,
- std_cxx1x::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
- std_cxx1x::function<double (double const)> my)
+ std_cxx11::function<Vector<double> (double const, Vector<double> const &)> f,
+ std_cxx11::function<Vector<double> (double const, double const, Vector<double> const &)> id_minus_tau_J_inv,
+ std_cxx11::function<double (double const)> my)
{
double initial_time = 0.0, final_time = 1.0;
double time_step = 1.0;
// this appears to be the key: the following two ways both overwrite some
// of the memory in which we store the quadrature point location.
parallel::apply_to_subranges(0U, copy_data.cell_rhs.size(),
- std_cxx1x::bind(&zero_subrange, std_cxx1x::_1, std_cxx1x::_2,
- std_cxx1x::ref(copy_data.cell_rhs)), 1);
+ std_cxx11::bind(&zero_subrange, std_cxx11::_1, std_cxx11::_2,
+ std_cxx11::ref(copy_data.cell_rhs)), 1);
Assert(q == data.x_fe_values.quadrature_point(0),
ExcInternalError());
copy_data.cell_rhs.resize(8);
WorkStream::run(triangulation.begin_active(), triangulation.end(),
&mass_assembler<dim>,
- std_cxx1x::bind(©_local_to_global, std_cxx1x::_1, &sum),
+ std_cxx11::bind(©_local_to_global, std_cxx11::_1, &sum),
assembler_data, copy_data, 8, 1);
Assert (std::fabs(sum-288.) < 1e-12, ExcInternalError());
// this appears to be the key: the following two ways both overwrite some
// of the memory in which we store the quadrature point location.
parallel::apply_to_subranges(0U, copy_data.cell_rhs.size(),
- std_cxx1x::bind(&zero_subrange, std_cxx1x::_1, std_cxx1x::_2,
- std_cxx1x::ref(copy_data.cell_rhs)), 1);
+ std_cxx11::bind(&zero_subrange, std_cxx11::_1, std_cxx11::_2,
+ std_cxx11::ref(copy_data.cell_rhs)), 1);
Assert(q == data.x_fe_values.quadrature_point(0),
ExcInternalError());
copy_data.cell_rhs.resize(8);
WorkStream::run(GraphColoring::make_graph_coloring (triangulation.begin_active(),
triangulation.end(),
- std_cxx1x::function<std::vector<types::global_dof_index>
+ std_cxx11::function<std::vector<types::global_dof_index>
(const Triangulation<dim>::active_cell_iterator &)>
(&conflictor<dim>)),
&mass_assembler<dim>,
- std_cxx1x::bind(©_local_to_global, std_cxx1x::_1, &sum),
+ std_cxx11::bind(©_local_to_global, std_cxx11::_1, &sum),
assembler_data, copy_data, 8, 1);
Assert (std::fabs(sum-288.) < 1e-12, ExcInternalError());
// first run with only a worker
WorkStream::run (v.begin(), v.end(),
&foo,
- std_cxx1x::function<void(const unsigned int&)>(),
+ std_cxx11::function<void(const unsigned int&)>(),
ScratchData(),
0U);
// next run with only a copier
WorkStream::run (v.begin(), v.end(),
- std_cxx1x::function<void(const std::vector<unsigned int>::iterator,
+ std_cxx11::function<void(const std::vector<unsigned int>::iterator,
ScratchData&,unsigned int&)>(),
&bar,
ScratchData(),
v.push_back (i);
WorkStream::run (GraphColoring::make_graph_coloring (v.begin(), v.end(),
- std_cxx1x::function<std::vector<types::global_dof_index>
+ std_cxx11::function<std::vector<types::global_dof_index>
(const std::vector<unsigned int>::iterator &)>
(&conflictor)),
&worker, &copier,
// memory leak, and can never produce a
// dangling pointer to an already
// destroyed object:
- std_cxx1x::shared_ptr<typename InnerPreconditioner<dim>::type> A_preconditioner;
+ std_cxx11::shared_ptr<typename InnerPreconditioner<dim>::type> A_preconditioner;
TimerOutput timer;
};
std::cout << " Computing preconditioner..." << std::endl << std::flush;
A_preconditioner
- = std_cxx1x::shared_ptr<typename InnerPreconditioner<dim>::type>(new typename InnerPreconditioner<dim>::type());
+ = std_cxx11::shared_ptr<typename InnerPreconditioner<dim>::type>(new typename InnerPreconditioner<dim>::type());
A_preconditioner->initialize (system_matrix.block(0,0),
typename InnerPreconditioner<dim>::type::AdditionalData());
// memory leak, and can never produce a
// dangling pointer to an already
// destroyed object:
- std_cxx1x::shared_ptr<typename InnerPreconditioner<dim>::type> A_preconditioner;
+ std_cxx11::shared_ptr<typename InnerPreconditioner<dim>::type> A_preconditioner;
TimerOutput timer;
};
std::cout << " Computing preconditioner..." << std::endl << std::flush;
A_preconditioner
- = std_cxx1x::shared_ptr<typename InnerPreconditioner<dim>::type>(new typename InnerPreconditioner<dim>::type());
+ = std_cxx11::shared_ptr<typename InnerPreconditioner<dim>::type>(new typename InnerPreconditioner<dim>::type());
A_preconditioner->initialize (system_matrix.block(0,0),
typename InnerPreconditioner<dim>::type::AdditionalData());
return DataOut<dim>::get_dataset_names();
}
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> >
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
get_vector_data_ranges () const
{
// if we have enough components for a
// vector solution, make the last dim
// components a vector
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> >
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
retval;
if (get_dataset_names().size() >= dim)
- retval.push_back (std_cxx1x::tuple
+ retval.push_back (std_cxx11::tuple
<unsigned int, unsigned int, std::string>
(get_dataset_names().size()-dim,
get_dataset_names().size()-1,
return DataOutReader<dim>::get_dataset_names();
}
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> >
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
get_vector_data_ranges () const
{
return DataOutReader<dim>::get_vector_data_ranges ();
ExcInternalError());
for (unsigned int i=0; i<data_out.get_vector_data_ranges().size(); ++i)
{
- deallog << std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i])
+ deallog << std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
<< ' '
- << std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i])
+ << std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
<< ' '
- << std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i])
+ << std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
<< std::endl;
- Assert (std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i])
+ Assert (std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
==
- std_cxx1x::get<0>(reader.get_vector_data_ranges()[i]),
+ std_cxx11::get<0>(reader.get_vector_data_ranges()[i]),
ExcInternalError());
- Assert (std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i])
+ Assert (std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
==
- std_cxx1x::get<1>(reader.get_vector_data_ranges()[i]),
+ std_cxx11::get<1>(reader.get_vector_data_ranges()[i]),
ExcInternalError());
- Assert (std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i])
+ Assert (std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
==
- std_cxx1x::get<2>(reader.get_vector_data_ranges()[i]),
+ std_cxx11::get<2>(reader.get_vector_data_ranges()[i]),
ExcInternalError());
}
return DataOutFaces<dim>::get_dataset_names();
}
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> >
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
get_vector_data_ranges () const
{
return DataOutFaces<dim>::get_vector_data_ranges ();
return DataOutReader<dim-1,dim>::get_dataset_names();
}
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> >
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
get_vector_data_ranges () const
{
return DataOutReader<dim-1,dim>::get_vector_data_ranges ();
ExcInternalError());
for (unsigned int i=0; i<data_out.get_vector_data_ranges().size(); ++i)
{
- deallog << std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i])
+ deallog << std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
<< ' '
- << std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i])
+ << std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
<< ' '
- << std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i])
+ << std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
<< std::endl;
- Assert (std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i])
+ Assert (std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
==
- std_cxx1x::get<0>(reader.get_vector_data_ranges()[i]),
+ std_cxx11::get<0>(reader.get_vector_data_ranges()[i]),
ExcInternalError());
- Assert (std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i])
+ Assert (std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
==
- std_cxx1x::get<1>(reader.get_vector_data_ranges()[i]),
+ std_cxx11::get<1>(reader.get_vector_data_ranges()[i]),
ExcInternalError());
- Assert (std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i])
+ Assert (std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
==
- std_cxx1x::get<2>(reader.get_vector_data_ranges()[i]),
+ std_cxx11::get<2>(reader.get_vector_data_ranges()[i]),
ExcInternalError());
}
return DataOutRotation<dim>::get_dataset_names();
}
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> >
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
get_vector_data_ranges () const
{
return DataOutRotation<dim>::get_vector_data_ranges ();
return DataOutReader<dim+1>::get_dataset_names();
}
- std::vector<std_cxx1x::tuple<unsigned int, unsigned int, std::string> >
+ std::vector<std_cxx11::tuple<unsigned int, unsigned int, std::string> >
get_vector_data_ranges () const
{
return DataOutReader<dim+1>::get_vector_data_ranges ();
ExcInternalError());
for (unsigned int i=0; i<data_out.get_vector_data_ranges().size(); ++i)
{
- deallog << std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i])
+ deallog << std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
<< ' '
- << std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i])
+ << std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
<< ' '
- << std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i])
+ << std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
<< std::endl;
- Assert (std_cxx1x::get<0>(data_out.get_vector_data_ranges()[i])
+ Assert (std_cxx11::get<0>(data_out.get_vector_data_ranges()[i])
==
- std_cxx1x::get<0>(reader.get_vector_data_ranges()[i]),
+ std_cxx11::get<0>(reader.get_vector_data_ranges()[i]),
ExcInternalError());
- Assert (std_cxx1x::get<1>(data_out.get_vector_data_ranges()[i])
+ Assert (std_cxx11::get<1>(data_out.get_vector_data_ranges()[i])
==
- std_cxx1x::get<1>(reader.get_vector_data_ranges()[i]),
+ std_cxx11::get<1>(reader.get_vector_data_ranges()[i]),
ExcInternalError());
- Assert (std_cxx1x::get<2>(data_out.get_vector_data_ranges()[i])
+ Assert (std_cxx11::get<2>(data_out.get_vector_data_ranges()[i])
==
- std_cxx1x::get<2>(reader.get_vector_data_ranges()[i]),
+ std_cxx11::get<2>(reader.get_vector_data_ranges()[i]),
ExcInternalError());
}
WorkStream::run(dof_handler_u_post.begin_active(),
dof_handler_u_post.end(),
- std_cxx1x::bind (&HDG<dim>::postprocess_one_cell,
- std_cxx1x::ref(*this),
- std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3),
- std_cxx1x::function<void(const unsigned int &)>(),
+ std_cxx11::bind (&HDG<dim>::postprocess_one_cell,
+ std_cxx11::ref(*this),
+ std_cxx11::_1, std_cxx11::_2, std_cxx11::_3),
+ std_cxx11::function<void(const unsigned int &)>(),
scratch,
0U);
}
WorkStream::run(dof_handler_u_post.begin_active(),
dof_handler_u_post.end(),
- std_cxx1x::bind (&HDG<dim>::postprocess_one_cell,
- std_cxx1x::ref(*this),
- std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3),
- std_cxx1x::function<void(const unsigned int &)>(),
+ std_cxx11::bind (&HDG<dim>::postprocess_one_cell,
+ std_cxx11::ref(*this),
+ std_cxx11::_1, std_cxx11::_2, std_cxx11::_3),
+ std_cxx11::function<void(const unsigned int &)>(),
scratch,
0U);
}
constraints.close ();
graph = GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(typename hp::DoFHandler<dim>::active_cell_iterator const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
CompressedSimpleSparsityPattern csp (dof_handler.n_dofs(),
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
Assembly::Copy::Data ());
constraints.close ();
graph = GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(typename hp::DoFHandler<dim>::active_cell_iterator const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
CompressedSimpleSparsityPattern csp (dof_handler.n_dofs(),
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
Assembly::Copy::Data (),
multithread_info.n_threads(),
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
Assembly::Copy::Data (true),
2*multithread_info.n_threads(),
constraints.close ();
graph = GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(typename hp::DoFHandler<dim>::active_cell_iterator const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
BlockCompressedSimpleSparsityPattern csp (2, 2);
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
Assembly::Copy::Data ());
constraints.close ();
graph = GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(typename hp::DoFHandler<dim>::active_cell_iterator const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
CompressedSimpleSparsityPattern csp (dof_handler.n_dofs(),
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
Assembly::Copy::Data (1),
2*multithread_info.n_threads(),
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
Assembly::Copy::Data (2),
2*multithread_info.n_threads(),
{
const FiniteElement<dim> &fe = dof.get_fe();
std::vector<types::global_dof_index> v (fe.dofs_per_cell);
- std_cxx1x::shared_ptr<FEValues<dim> > fevalues;
+ std_cxx11::shared_ptr<FEValues<dim> > fevalues;
if (fe.has_support_points())
{
Quadrature<dim> quad(fe.get_unit_support_points());
- fevalues = std_cxx1x::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
+ fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
}
for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
{
const FiniteElement<dim> &fe = dof.get_fe();
std::vector<types::global_dof_index> v (fe.dofs_per_cell);
- std_cxx1x::shared_ptr<FEValues<dim> > fevalues;
+ std_cxx11::shared_ptr<FEValues<dim> > fevalues;
if (fe.has_support_points())
{
Quadrature<dim> quad(fe.get_unit_support_points());
- fevalues = std_cxx1x::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
+ fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
}
for (typename MGDoFHandler<dim>::cell_iterator cell=dof.begin(level);
{
const FiniteElement<dim> &fe = dof.get_fe();
std::vector<types::global_dof_index> v (fe.dofs_per_cell);
- std_cxx1x::shared_ptr<FEValues<dim> > fevalues;
+ std_cxx11::shared_ptr<FEValues<dim> > fevalues;
if (fe.has_support_points())
{
Quadrature<dim> quad(fe.get_unit_support_points());
- fevalues = std_cxx1x::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
+ fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
}
for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
{
const FiniteElement<dim> &fe = dof.get_fe();
std::vector<types::global_dof_index> v (fe.dofs_per_cell);
- std_cxx1x::shared_ptr<FEValues<dim> > fevalues;
+ std_cxx11::shared_ptr<FEValues<dim> > fevalues;
if (fe.has_support_points())
{
Quadrature<dim> quad(fe.get_unit_support_points());
- fevalues = std_cxx1x::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
+ fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
}
for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
{
const FiniteElement<dim> &fe = dof.get_fe();
std::vector<types::global_dof_index> v (fe.dofs_per_cell);
- std_cxx1x::shared_ptr<FEValues<dim> > fevalues;
+ std_cxx11::shared_ptr<FEValues<dim> > fevalues;
if (fe.has_support_points())
{
Quadrature<dim> quad(fe.get_unit_support_points());
- fevalues = std_cxx1x::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
+ fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
}
for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
{
const FiniteElement<dim> &fe = dof.get_fe();
std::vector<types::global_dof_index> v (fe.dofs_per_cell);
- std_cxx1x::shared_ptr<FEValues<dim> > fevalues;
+ std_cxx11::shared_ptr<FEValues<dim> > fevalues;
if (fe.has_support_points())
{
Quadrature<dim> quad(fe.get_unit_support_points());
- fevalues = std_cxx1x::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
+ fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
}
for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
{
const FiniteElement<dim> &fe = dof.get_fe();
std::vector<types::global_dof_index> v (fe.dofs_per_cell);
- std_cxx1x::shared_ptr<FEValues<dim> > fevalues;
+ std_cxx11::shared_ptr<FEValues<dim> > fevalues;
if (fe.has_support_points())
{
Quadrature<dim> quad(fe.get_unit_support_points());
- fevalues = std_cxx1x::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
+ fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
}
for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
{
const FiniteElement<dim> &fe = dof.get_fe();
std::vector<types::global_dof_index> v (fe.dofs_per_cell);
- std_cxx1x::shared_ptr<FEValues<dim> > fevalues;
+ std_cxx11::shared_ptr<FEValues<dim> > fevalues;
if (fe.has_support_points())
{
Quadrature<dim> quad(fe.get_unit_support_points());
- fevalues = std_cxx1x::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
+ fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
}
for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
out << std::fixed;
const FiniteElement<dim> &fe = dof.get_fe();
std::vector<types::global_dof_index> v (fe.dofs_per_cell);
- std_cxx1x::shared_ptr<FEValues<dim> > fevalues;
+ std_cxx11::shared_ptr<FEValues<dim> > fevalues;
if (fe.has_support_points())
{
Quadrature<dim> quad(fe.get_unit_support_points());
- fevalues = std_cxx1x::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
+ fevalues = std_cxx11::shared_ptr<FEValues<dim> >(new FEValues<dim>(fe, quad, update_q_points));
}
for (typename DoFHandler<dim>::active_cell_iterator cell=dof.begin_active();
boost::signals2::connection connections_1[4]
= {tria_1.signals.pre_refinement
- .connect (std_cxx1x::bind (&pre_refinement_notification<dim,dim>,
+ .connect (std_cxx11::bind (&pre_refinement_notification<dim,dim>,
"tria_1",
- std_cxx1x::cref(tria_1))),
+ std_cxx11::cref(tria_1))),
tria_1.signals.post_refinement
- .connect (std_cxx1x::bind (&post_refinement_notification<dim,dim>,
+ .connect (std_cxx11::bind (&post_refinement_notification<dim,dim>,
"tria_1",
- std_cxx1x::cref(tria_1))),
+ std_cxx11::cref(tria_1))),
tria_1.signals.create
- .connect (std_cxx1x::bind (&create_notification<dim,dim>,
+ .connect (std_cxx11::bind (&create_notification<dim,dim>,
"tria_1",
- std_cxx1x::cref(tria_1))),
+ std_cxx11::cref(tria_1))),
tria_1.signals.copy
- .connect (std_cxx1x::bind (©_notification<dim,dim>,
+ .connect (std_cxx11::bind (©_notification<dim,dim>,
"tria_1",
- std_cxx1x::_1,
- std_cxx1x::cref(tria_1)))
+ std_cxx11::_1,
+ std_cxx11::cref(tria_1)))
};
boost::signals2::connection connections_2[4]
= {tria_2.signals.pre_refinement
- .connect (std_cxx1x::bind (&pre_refinement_notification<dim,dim>,
+ .connect (std_cxx11::bind (&pre_refinement_notification<dim,dim>,
"tria_2",
- std_cxx1x::cref(tria_2))),
+ std_cxx11::cref(tria_2))),
tria_2.signals.post_refinement
- .connect (std_cxx1x::bind (&post_refinement_notification<dim,dim>,
+ .connect (std_cxx11::bind (&post_refinement_notification<dim,dim>,
"tria_2",
- std_cxx1x::cref(tria_2))),
+ std_cxx11::cref(tria_2))),
tria_2.signals.create
- .connect (std_cxx1x::bind (&create_notification<dim,dim>,
+ .connect (std_cxx11::bind (&create_notification<dim,dim>,
"tria_2",
- std_cxx1x::cref(tria_2))),
+ std_cxx11::cref(tria_2))),
tria_2.signals.copy
- .connect (std_cxx1x::bind (©_notification<dim,dim>,
+ .connect (std_cxx11::bind (©_notification<dim,dim>,
"tria_2",
- std_cxx1x::_1,
- std_cxx1x::cref(tria_2)))
+ std_cxx11::_1,
+ std_cxx11::cref(tria_2)))
};
boost::signals2::connection connections_1[5]
= {tria_1.signals.pre_refinement
- .connect (std_cxx1x::bind (&pre_refinement_notification<dim,dim>,
+ .connect (std_cxx11::bind (&pre_refinement_notification<dim,dim>,
"tria_1",
- std_cxx1x::cref(tria_1))),
+ std_cxx11::cref(tria_1))),
tria_1.signals.post_refinement
- .connect (std_cxx1x::bind (&post_refinement_notification<dim,dim>,
+ .connect (std_cxx11::bind (&post_refinement_notification<dim,dim>,
"tria_1",
- std_cxx1x::cref(tria_1))),
+ std_cxx11::cref(tria_1))),
tria_1.signals.create
- .connect (std_cxx1x::bind (&create_notification<dim,dim>,
+ .connect (std_cxx11::bind (&create_notification<dim,dim>,
"tria_1",
- std_cxx1x::cref(tria_1))),
+ std_cxx11::cref(tria_1))),
tria_1.signals.copy
- .connect (std_cxx1x::bind (©_notification<dim,dim>,
+ .connect (std_cxx11::bind (©_notification<dim,dim>,
"tria_1",
- std_cxx1x::_1,
- std_cxx1x::cref(tria_1))),
+ std_cxx11::_1,
+ std_cxx11::cref(tria_1))),
tria_1.signals.any_change
- .connect (std_cxx1x::bind (&any_change_notification<dim,dim>,
+ .connect (std_cxx11::bind (&any_change_notification<dim,dim>,
"tria_1",
- std_cxx1x::cref(tria_1)))
+ std_cxx11::cref(tria_1)))
};
boost::signals2::connection connections_2[5]
= {tria_2.signals.pre_refinement
- .connect (std_cxx1x::bind (&pre_refinement_notification<dim,dim>,
+ .connect (std_cxx11::bind (&pre_refinement_notification<dim,dim>,
"tria_2",
- std_cxx1x::cref(tria_2))),
+ std_cxx11::cref(tria_2))),
tria_2.signals.post_refinement
- .connect (std_cxx1x::bind (&post_refinement_notification<dim,dim>,
+ .connect (std_cxx11::bind (&post_refinement_notification<dim,dim>,
"tria_2",
- std_cxx1x::cref(tria_2))),
+ std_cxx11::cref(tria_2))),
tria_2.signals.create
- .connect (std_cxx1x::bind (&create_notification<dim,dim>,
+ .connect (std_cxx11::bind (&create_notification<dim,dim>,
"tria_2",
- std_cxx1x::cref(tria_2))),
+ std_cxx11::cref(tria_2))),
tria_2.signals.copy
- .connect (std_cxx1x::bind (©_notification<dim,dim>,
+ .connect (std_cxx11::bind (©_notification<dim,dim>,
"tria_2",
- std_cxx1x::_1,
- std_cxx1x::cref(tria_2))),
+ std_cxx11::_1,
+ std_cxx11::cref(tria_2))),
tria_2.signals.any_change
- .connect (std_cxx1x::bind (&any_change_notification<dim,dim>,
+ .connect (std_cxx11::bind (&any_change_notification<dim,dim>,
"tria_2",
- std_cxx1x::cref(tria_2)))
+ std_cxx11::cref(tria_2)))
};
BlockVector<double> solution;
BlockVector<double> system_rhs;
- std_cxx1x::shared_ptr<typename InnerPreconditioner<dim>::type>
+ std_cxx11::shared_ptr<typename InnerPreconditioner<dim>::type>
A_preconditioner;
ConvergenceTable convergence_table;
}
A_preconditioner
- = std_cxx1x::shared_ptr<typename InnerPreconditioner<dim>::type>(new
+ = std_cxx11::shared_ptr<typename InnerPreconditioner<dim>::type>(new
typename InnerPreconditioner<dim>::type());
A_preconditioner->initialize (system_matrix.block(0,0),
typename
#include <deal.II/meshworker/assembler.h>
#include <deal.II/meshworker/loop.h>
-#include <deal.II/base/std_cxx1x/function.h>
+#include <deal.II/base/std_cxx11/function.h>
#include <deal.II/base/logstream.h>
#include <deal.II/grid/grid_generator.h>
#include <deal.II/dofs/dof_tools.h>
MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, EmptyInfoBox>
(dofs.begin_active(), dofs.end(),
dof_info, info_box,
- std_cxx1x::bind (&Local<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+ std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
assembler, true);
deallog << " Results cells";
MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, EmptyInfoBox>
(mgdofs.begin(), mgdofs.end(),
mg_dof_info, info_box,
- std_cxx1x::bind (&Local<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+ std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
assembler, true);
deallog << "MGResults cells";
#include <deal.II/meshworker/assembler.h>
#include <deal.II/meshworker/loop.h>
-#include <deal.II/base/std_cxx1x/function.h>
+#include <deal.II/base/std_cxx11/function.h>
#include <deal.II/base/logstream.h>
#include <deal.II/grid/grid_generator.h>
#include <deal.II/dofs/dof_tools.h>
MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, EmptyInfoBox>
(dofs.begin_active(), dofs.end(),
dof_info, info_box,
- std_cxx1x::bind (&Local<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+ std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
assembler, true);
deallog << " Results";
MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, EmptyInfoBox>
(mgdofs.begin(), mgdofs.end(),
mg_dof_info, info_box,
- std_cxx1x::bind (&Local<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+ std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
assembler, true);
deallog << "MGResults";
#include <deal.II/meshworker/assembler.h>
#include <deal.II/meshworker/loop.h>
-#include <deal.II/base/std_cxx1x/function.h>
+#include <deal.II/base/std_cxx11/function.h>
#include <deal.II/base/logstream.h>
#include <deal.II/lac/sparsity_pattern.h>
#include <deal.II/lac/sparse_matrix.h>
MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
(dofs.begin_active(), dofs.end(),
dof_info, info_box,
- std_cxx1x::bind (&Local<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+ std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
assembler, true);
for (unsigned int i=0; i<v.size(); ++i)
deallog.attach(logfile);
deallog.depth_console (0);
- std::vector<std_cxx1x::shared_ptr<FiniteElement<2> > > fe2;
- fe2.push_back(std_cxx1x::shared_ptr<FiniteElement<2> >(new FE_DGP<2>(1)));
- fe2.push_back(std_cxx1x::shared_ptr<FiniteElement<2> >(new FE_Q<2>(1)));
+ std::vector<std_cxx11::shared_ptr<FiniteElement<2> > > fe2;
+ fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FE_DGP<2>(1)));
+ fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FE_Q<2>(1)));
for (unsigned int i=0; i<fe2.size(); ++i)
test(*fe2[i]);
deallog.attach(logfile);
deallog.depth_console (0);
- std::vector<std_cxx1x::shared_ptr<FiniteElement<2> > > fe2;
- fe2.push_back(std_cxx1x::shared_ptr<FiniteElement<2> >(new FE_DGP<2>(1)));
-// fe2.push_back(std_cxx1x::shared_ptr<FiniteElement<2> >(new FE_Q<2>(1)));
+ std::vector<std_cxx11::shared_ptr<FiniteElement<2> > > fe2;
+ fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FE_DGP<2>(1)));
+// fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FE_Q<2>(1)));
for (unsigned int i=0; i<fe2.size(); ++i)
test(*fe2[i]);
FE_DGP<2> dgp1(1);
FE_Q<2> q1(1);
- std::vector<std_cxx1x::shared_ptr<FiniteElement<2> > > fe2;
- fe2.push_back(std_cxx1x::shared_ptr<FiniteElement<2> >(new FE_DGP<2>(0)));
- fe2.push_back(std_cxx1x::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp0,3)));
- fe2.push_back(std_cxx1x::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp1,2)));
- fe2.push_back(std_cxx1x::shared_ptr<FiniteElement<2> >(new FESystem<2>(q1,2)));
- fe2.push_back(std_cxx1x::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp0,1,q1,1)));
-// fe2.push_back(std_cxx1x::shared_ptr<FiniteElement<2> >(new FE_Q<2>(1)));
+ std::vector<std_cxx11::shared_ptr<FiniteElement<2> > > fe2;
+ fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FE_DGP<2>(0)));
+ fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp0,3)));
+ fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp1,2)));
+ fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FESystem<2>(q1,2)));
+ fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FESystem<2>(dgp0,1,q1,1)));
+// fe2.push_back(std_cxx11::shared_ptr<FiniteElement<2> >(new FE_Q<2>(1)));
for (unsigned int i=0; i<fe2.size(); ++i)
test(*fe2[i]);
#include <deal.II/meshworker/assembler.h>
#include <deal.II/meshworker/loop.h>
-#include <deal.II/base/std_cxx1x/function.h>
+#include <deal.II/base/std_cxx11/function.h>
#include <deal.II/base/logstream.h>
#include <deal.II/lac/sparsity_pattern.h>
#include <deal.II/lac/sparse_matrix.h>
MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
(dof_handler.begin_active(), dof_handler.end(),
dof_info, info_box,
- std_cxx1x::bind(&AdvectionProblem<dim>::integrate_cell_term,
- this, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind(&AdvectionProblem<dim>::integrate_boundary_term,
- this, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind(&AdvectionProblem<dim>::integrate_face_term,
- this, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+ std_cxx11::bind(&AdvectionProblem<dim>::integrate_cell_term,
+ this, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind(&AdvectionProblem<dim>::integrate_boundary_term,
+ this, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind(&AdvectionProblem<dim>::integrate_face_term,
+ this, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
assembler, true);
}//assemble_system
#include <deal.II/meshworker/assembler.h>
#include <deal.II/meshworker/loop.h>
-#include <deal.II/base/std_cxx1x/function.h>
+#include <deal.II/base/std_cxx11/function.h>
#include <deal.II/base/logstream.h>
#include <deal.II/lac/sparsity_pattern.h>
#include <deal.II/lac/sparse_matrix.h>
MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
(dofs.begin_active(), dofs.end(),
dof_info, info_box,
- std_cxx1x::bind (&Local<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+ std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
assembler, true);
//matrix.print_formatted(deallog.get_file_stream(), 0, false, 4);
const Vector<Number> &src) const
{
dst = 0;
- const std_cxx1x::function<void(const MatrixFree<dim,Number> &,
+ const std_cxx11::function<void(const MatrixFree<dim,Number> &,
Vector<Number> &,
const Vector<Number> &,
const std::pair<unsigned int,unsigned int> &)>
{
for (unsigned int i=0; i<dst.size(); ++i)
dst[i] = 0;
- const std_cxx1x::function<void(const MatrixFree<dim,Number> &,
+ const std_cxx11::function<void(const MatrixFree<dim,Number> &,
std::vector<parallel::distributed::Vector<Number> > &,
const std::vector<parallel::distributed::Vector<Number> > &,
const std::pair<unsigned int,unsigned int> &)>
const parallel::distributed::BlockVector<Number> &src) const
{
dst = 0;
- const std_cxx1x::function<void(const MatrixFree<dim,Number> &,
+ const std_cxx11::function<void(const MatrixFree<dim,Number> &,
parallel::distributed::BlockVector<Number> &,
const parallel::distributed::BlockVector<Number> &,
const std::pair<unsigned int,unsigned int> &)>
const VECTOR &src) const
{
dst = 0;
- const std_cxx1x::function<void(const MatrixFree<dim,typename VECTOR::value_type> &,
+ const std_cxx11::function<void(const MatrixFree<dim,typename VECTOR::value_type> &,
VECTOR &,
const VECTOR &,
const std::pair<unsigned int,unsigned int> &)>
template <int dim>
void testit()
{
- std::vector<std_cxx1x::shared_ptr<FiniteElement<dim> > > fes;
- fes.push_back(std_cxx1x::shared_ptr<FiniteElement<dim> >(new FE_RaviartThomas<dim>(0)));
- fes.push_back(std_cxx1x::shared_ptr<FiniteElement<dim> >(new FE_RaviartThomas<dim>(1)));
- fes.push_back(std_cxx1x::shared_ptr<FiniteElement<dim> >(new FE_Nedelec<dim>(0)));
- fes.push_back(std_cxx1x::shared_ptr<FiniteElement<dim> >(new FE_Nedelec<dim>(1)));
- fes.push_back(std_cxx1x::shared_ptr<FiniteElement<dim> >(new FE_Q<dim>(3)));
- fes.push_back(std_cxx1x::shared_ptr<FiniteElement<dim> >(new FE_DGQ<dim>(2)));
- fes.push_back(std_cxx1x::shared_ptr<FiniteElement<dim> >(new FE_Q_DG0<dim>(2)));
+ std::vector<std_cxx11::shared_ptr<FiniteElement<dim> > > fes;
+ fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_RaviartThomas<dim>(0)));
+ fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_RaviartThomas<dim>(1)));
+ fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_Nedelec<dim>(0)));
+ fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_Nedelec<dim>(1)));
+ fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_Q<dim>(3)));
+ fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_DGQ<dim>(2)));
+ fes.push_back(std_cxx11::shared_ptr<FiniteElement<dim> >(new FE_Q_DG0<dim>(2)));
for (unsigned int i=0;i<fes.size();++i)
{
// typename identity<ITERATOR>::type end,
// DOFINFO &dinfo,
// INFOBOX &info,
-// const std_cxx1x::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-// const std_cxx1x::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-// const std_cxx1x::function<void (DOFINFO &, DOFINFO &,
+// const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+// const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+// const std_cxx11::function<void (DOFINFO &, DOFINFO &,
// typename INFOBOX::CellInfo &,
// typename INFOBOX::CellInfo &)> &face_worker,
// ASSEMBLER &assembler,
// MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
// (dofs.begin_active(), dofs.end(),
// dof_info, info_box,
-// std_cxx1x::bind (&Integrator<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
-// std_cxx1x::bind (&Integrator<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
-// std_cxx1x::bind (&Integrator<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+// std_cxx11::bind (&Integrator<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+// std_cxx11::bind (&Integrator<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+// std_cxx11::bind (&Integrator<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
// local,
// lctrl);
}
// typename identity<ITERATOR>::type end,
// DOFINFO &dinfo,
// INFOBOX &info,
-// const std_cxx1x::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-// const std_cxx1x::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-// const std_cxx1x::function<void (DOFINFO &, DOFINFO &,
+// const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+// const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+// const std_cxx11::function<void (DOFINFO &, DOFINFO &,
// typename INFOBOX::CellInfo &,
// typename INFOBOX::CellInfo &)> &face_worker,
// ASSEMBLER &assembler,
// MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
// (dofs.begin_active(), dofs.end(),
// dof_info, info_box,
-// std_cxx1x::bind (&Integrator<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
-// std_cxx1x::bind (&Integrator<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
-// std_cxx1x::bind (&Integrator<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+// std_cxx11::bind (&Integrator<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+// std_cxx11::bind (&Integrator<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+// std_cxx11::bind (&Integrator<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
// local,
// lctrl);
}
// typename identity<ITERATOR>::type end,
// DOFINFO &dinfo,
// INFOBOX &info,
-// const std_cxx1x::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-// const std_cxx1x::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-// const std_cxx1x::function<void (DOFINFO &, DOFINFO &,
+// const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+// const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+// const std_cxx11::function<void (DOFINFO &, DOFINFO &,
// typename INFOBOX::CellInfo &,
// typename INFOBOX::CellInfo &)> &face_worker,
// ASSEMBLER &assembler,
// MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
// (dofs.begin_active(), dofs.end(),
// dof_info, info_box,
-// std_cxx1x::bind (&Integrator<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
-// std_cxx1x::bind (&Integrator<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
-// std_cxx1x::bind (&Integrator<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+// std_cxx11::bind (&Integrator<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+// std_cxx11::bind (&Integrator<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+// std_cxx11::bind (&Integrator<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
// local,
// lctrl);
}
// typename identity<ITERATOR>::type end,
// DOFINFO &dinfo,
// INFOBOX &info,
-// const std_cxx1x::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-// const std_cxx1x::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-// const std_cxx1x::function<void (DOFINFO &, DOFINFO &,
+// const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+// const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+// const std_cxx11::function<void (DOFINFO &, DOFINFO &,
// typename INFOBOX::CellInfo &,
// typename INFOBOX::CellInfo &)> &face_worker,
// ASSEMBLER &assembler,
// MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
// (dofs.begin_active(), dofs.end(),
// dof_info, info_box,
-// std_cxx1x::bind (&Integrator<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
-// std_cxx1x::bind (&Integrator<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
-// std_cxx1x::bind (&Integrator<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+// std_cxx11::bind (&Integrator<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+// std_cxx11::bind (&Integrator<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+// std_cxx11::bind (&Integrator<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
// local,
// lctrl);
}
// typename identity<ITERATOR>::type end,
// DOFINFO &dinfo,
// INFOBOX &info,
-// const std_cxx1x::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
-// const std_cxx1x::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
-// const std_cxx1x::function<void (DOFINFO &, DOFINFO &,
+// const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &cell_worker,
+// const std_cxx11::function<void (DOFINFO &, typename INFOBOX::CellInfo &)> &boundary_worker,
+// const std_cxx11::function<void (DOFINFO &, DOFINFO &,
// typename INFOBOX::CellInfo &,
// typename INFOBOX::CellInfo &)> &face_worker,
// ASSEMBLER &assembler,
// MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
// (dofs.begin_active(), dofs.end(),
// dof_info, info_box,
-// std_cxx1x::bind (&Integrator<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
-// std_cxx1x::bind (&Integrator<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
-// std_cxx1x::bind (&Integrator<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+// std_cxx11::bind (&Integrator<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+// std_cxx11::bind (&Integrator<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+// std_cxx11::bind (&Integrator<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
// local,
// lctrl);
}
#include <deal.II/meshworker/assembler.h>
#include <deal.II/meshworker/loop.h>
-#include <deal.II/base/std_cxx1x/function.h>
+#include <deal.II/base/std_cxx11/function.h>
#include <deal.II/base/logstream.h>
#include <deal.II/lac/sparsity_pattern.h>
#include <deal.II/lac/sparse_matrix.h>
MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> >
(cell, end,
dof_info, info_box,
- std_cxx1x::bind (&Local<dim>::cell, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::bdry, local, std_cxx1x::_1, std_cxx1x::_2),
- std_cxx1x::bind (&Local<dim>::face, local, std_cxx1x::_1, std_cxx1x::_2, std_cxx1x::_3, std_cxx1x::_4),
+ std_cxx11::bind (&Local<dim>::cell, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::bdry, local, std_cxx11::_1, std_cxx11::_2),
+ std_cxx11::bind (&Local<dim>::face, local, std_cxx11::_1, std_cxx11::_2, std_cxx11::_3, std_cxx11::_4),
assembler, true);
matrix.compress(VectorOperation::add);
#include <fstream>
#include <sstream>
-#include <deal.II/base/std_cxx1x/bind.h>
+#include <deal.II/base/std_cxx11/bind.h>
using namespace dealii;
MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> > (
dof.begin(l), dof.end(l),
dof_info, info_box,
- std_cxx1x::bind(&OutputCreator<dim>::cell, &matrix_integrator, std_cxx1x::_1, std_cxx1x::_2),
+ std_cxx11::bind(&OutputCreator<dim>::cell, &matrix_integrator, std_cxx11::_1, std_cxx11::_2),
0,
0,
assembler);
#include <fstream>
#include <sstream>
-#include <deal.II/base/std_cxx1x/bind.h>
+#include <deal.II/base/std_cxx11/bind.h>
using namespace dealii;
MeshWorker::loop<dim, dim, MeshWorker::DoFInfo<dim>, MeshWorker::IntegrationInfoBox<dim> > (
dof.begin(l), dof.end(l),
dof_info, info_box,
- std_cxx1x::bind(&OutputCreator<dim>::cell, &matrix_integrator, std_cxx1x::_1, std_cxx1x::_2),
+ std_cxx11::bind(&OutputCreator<dim>::cell, &matrix_integrator, std_cxx11::_1, std_cxx11::_2),
0,
0,
assembler);
WorkStream::run(v.begin(),
v.end(),
&assemble,
- std_cxx1x::bind(©,
- std_cxx1x::ref(result),
- std_cxx1x::_1),
+ std_cxx11::bind(©,
+ std_cxx11::ref(result),
+ std_cxx11::_1),
scratch_data(), copy_data());
std::cout << "result: " << result << std::endl;
constraints.close ();
graph = GraphColoring::make_graph_coloring(dof_handler.begin_active(),dof_handler.end(),
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(typename hp::DoFHandler<dim>::active_cell_iterator const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
CompressedSimpleSparsityPattern csp (dof_handler.n_dofs(),
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe_collection, quadrature_collection),
Assembly::Copy::Data (),
2*multithread_info.n_threads(),
CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
graph = GraphColoring::make_graph_coloring(begin,end,
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
IndexSet locally_owned = dof_handler.locally_owned_dofs();
{
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe, quadrature),
Assembly::Copy::Data (false),
2*multithread_info.n_threads(),
CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
graph = GraphColoring::make_graph_coloring(begin,end,
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
IndexSet locally_owned = dof_handler.locally_owned_dofs();
{
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe, quadrature),
Assembly::Copy::Data (false),
2*multithread_info.n_threads(),
CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
graph = GraphColoring::make_graph_coloring(begin,end,
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
TrilinosWrappers::BlockSparsityPattern csp(2,2);
std::vector<IndexSet> locally_owned(2), relevant_set(2);
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe, quadrature),
Assembly::Copy::Data (false),
2*multithread_info.n_threads(),
CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
graph = GraphColoring::make_graph_coloring(begin,end,
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
IndexSet locally_owned = dof_handler.locally_owned_dofs();
{
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe, quadrature),
Assembly::Copy::Data (false),
2*multithread_info.n_threads(),
CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
graph = GraphColoring::make_graph_coloring(begin,end,
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
TrilinosWrappers::BlockSparsityPattern csp(2,2);
std::vector<IndexSet> locally_owned(2), relevant_set(2);
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe, quadrature),
Assembly::Copy::Data (false),
2*multithread_info.n_threads(),
CellFilter begin(IteratorFilters::LocallyOwnedCell(),dof_handler.begin_active());
CellFilter end(IteratorFilters::LocallyOwnedCell(),dof_handler.end());
graph = GraphColoring::make_graph_coloring(begin,end,
- static_cast<std_cxx1x::function<std::vector<types::global_dof_index>
+ static_cast<std_cxx11::function<std::vector<types::global_dof_index>
(FilteredIterator<typename DoFHandler<dim>::active_cell_iterator> const &)> >
- (std_cxx1x::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx1x::_1)));
+ (std_cxx11::bind(&LaplaceProblem<dim>::get_conflict_indices, this,std_cxx11::_1)));
IndexSet locally_owned = dof_handler.locally_owned_dofs();
{
WorkStream::
run (graph,
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::bind (&LaplaceProblem<dim>::
local_assemble,
this,
- std_cxx1x::_1,
- std_cxx1x::_2,
- std_cxx1x::_3),
- std_cxx1x::bind (&LaplaceProblem<dim>::
+ std_cxx11::_1,
+ std_cxx11::_2,
+ std_cxx11::_3),
+ std_cxx11::bind (&LaplaceProblem<dim>::
copy_local_to_global,
this,
- std_cxx1x::_1),
+ std_cxx11::_1),
Assembly::Scratch::Data<dim>(fe, quadrature),
Assembly::Copy::Data (false),
2*multithread_info.n_threads(),