16 #ifndef dealii_dof_print_solver_step_h 17 #define dealii_dof_print_solver_step_h 55 template <
int dim,
typename SolverType,
class VectorType = Vector<
double>>
95 template <
int dim,
typename SolverType,
class VectorType>
107 template <
int dim,
typename SolverType,
class VectorType>
110 const unsigned int step,
120 std::ostringstream filename;
121 filename <<
basename << std::setw(3) << std::setfill(
'0') << step
124 const std::string fname = filename.str();
126 deallog <<
"Writing file:" << fname << std::endl;
129 std::ofstream of(fname.c_str());
void write(std::ostream &out, const DataOutBase::OutputFormat output_format=DataOutBase::default_format) const
std::string default_suffix(const DataOutBase::OutputFormat output_format=DataOutBase::default_format) const
virtual void build_patches(const unsigned int n_subdivisions=0)
#define DEAL_II_NAMESPACE_CLOSE
void add_data_vector(const VectorType &data, const std::vector< std::string > &names, const DataVectorType type=type_automatic, const std::vector< DataComponentInterpretation::DataComponentInterpretation > &data_component_interpretation=std::vector< DataComponentInterpretation::DataComponentInterpretation >())
virtual void print_vectors(const unsigned int step, const VectorType &x, const VectorType &r, const VectorType &d) const
SymmetricTensor< 2, dim, Number > d(const Tensor< 2, dim, Number > &F, const Tensor< 2, dim, Number > &dF_dt)
#define DEAL_II_NAMESPACE_OPEN
void clear_data_vectors()
const std::string basename
DoFPrintSolverStep(SolverControl &control, VectorMemory< VectorType > &mem, DataOut< dim > &data_out, const std::string &basename)