Utilities::int_to_string(timestep_no,4) +
".visit");
std::ofstream visit_master (visit_master_filename.c_str());
- data_out.write_visit_record (visit_master, filenames);
+ DataOutBase::write_visit_record (visit_master, filenames);
// Similarly, we write the paraview .pvtu:
const std::string
static std::vector<std::pair<double,std::string> > times_and_names;
times_and_names.push_back (std::pair<double,std::string> (present_time, pvtu_master_filename));
std::ofstream pvd_output ("solution.pvd");
- data_out.write_pvd_record (pvd_output, times_and_names);
+ DataOutBase::write_pvd_record (pvd_output, times_and_names);
}
}
Utilities::int_to_string (out_index, 5) +
".visit");
std::ofstream visit_master (visit_master_filename.c_str());
- data_out.write_visit_record (visit_master, filenames);
+ DataOutBase::write_visit_record (visit_master, filenames);
}
computing_timer.exit_section ();
/* ---------------------------------------------------------------------
*
- * Copyright (C) 2012 - 2015 by the deal.II authors
+ * Copyright (C) 2012 - 2016 by the deal.II authors
*
* This file is part of the deal.II library.
*
data_out.write_pvtu_record(pvtu_master_output, filenames);
std::ofstream visit_master_output((output_dir + filename_base + ".visit").c_str());
- data_out.write_visit_record(visit_master_output, filenames);
+ DataOutBase::write_visit_record(visit_master_output, filenames);
}
TrilinosWrappers::MPI::Vector tmp(solution);
Utilities::int_to_string (cycle, 5) +
".visit");
std::ofstream visit_master (visit_master_filename.c_str());
- data_out.write_visit_record (visit_master, filenames);
+ DataOutBase::write_visit_record (visit_master, filenames);
std::cout << " wrote " << pvtu_master_filename << std::endl;
// ---------------------------------------------------------------------
//
-// Copyright (C) 2006 - 2014 by the deal.II authors
+// Copyright (C) 2006 - 2014, 2016 by the deal.II authors
//
// This file is part of the deal.II library.
//
#include "patches.h"
-
-std::vector<DataOutBase::Patch<2,2> > patches;
-
-class DataOutX : public DataOutInterface<2,2>
-{
- virtual
- const std::vector< ::DataOutBase::Patch<2,2> > &
- get_patches () const
- {
- return patches;
- }
-
- virtual
- std::vector<std::string>
- get_dataset_names () const
- {
- return std::vector<std::string>();
- }
-};
-
-
template <int dim, int spacedim>
void check(std::ostream &out)
{
names[3] = std::make_pair(3.141,"d");
names[4] = std::make_pair(42e19,"i");
- DataOutX x;
- x.write_pvd_record (out, names);
+ DataOutBase::write_pvd_record (out, names);
}
// ---------------------------------------------------------------------
//
-// Copyright (C) 2000 - 2015 by the deal.II authors
+// Copyright (C) 2000 - 2016 by the deal.II authors
//
// This file is part of the deal.II library.
//
piece_names[1].push_back("subdomain-02.time_step_1.vtk");
piece_names[2].push_back("subdomain-01.time_step_2.vtk");
piece_names[2].push_back("subdomain-02.time_step_2.vtk");
- data_out.write_visit_record(logfile, piece_names);
- data_out.write_visit_record(logfile, piece_names[01]);
+ DataOutBase::write_visit_record(logfile, piece_names);
+ DataOutBase::write_visit_record(logfile, piece_names[01]);
};
// test DataOutRotation in 2d
void test()
{
- DataOut<2> data_out;
-
const unsigned int number_of_time_steps = 3;
std::vector<std::pair<double,std::vector<std::string > > > times_and_piece_names(number_of_time_steps);
times_and_piece_names[2].first = 1.0;
times_and_piece_names[2].second.push_back("subdomain-01.time_step_2.vtk");
times_and_piece_names[2].second.push_back("subdomain-02.time_step_2.vtk");
- data_out.write_visit_record(deallog.get_file_stream(), times_and_piece_names);
+ DataOutBase::write_visit_record(deallog.get_file_stream(), times_and_piece_names);
deallog << "OK" << std::endl;