PolyFEM
Loading...
Searching...
No Matches
polyfem::io::EnergyCSVWriter Class Reference

#include <OutData.hpp>

Collaboration diagram for polyfem::io::EnergyCSVWriter:
[legend]

Public Member Functions

 EnergyCSVWriter (const std::string &path, const solver::SolveData &solve_data)
 
 ~EnergyCSVWriter ()
 
void write (const int i, const Eigen::MatrixXd &sol)
 

Protected Attributes

std::ofstream file
 
const solver::SolveDatasolve_data
 

Detailed Description

Definition at line 509 of file OutData.hpp.

Constructor & Destructor Documentation

◆ EnergyCSVWriter()

polyfem::io::EnergyCSVWriter::EnergyCSVWriter ( const std::string &  path,
const solver::SolveData solve_data 
)

Definition at line 2916 of file OutData.cpp.

References file, polyfem::solver::SolveData::named_forms(), and solve_data.

Here is the call graph for this function:

◆ ~EnergyCSVWriter()

polyfem::io::EnergyCSVWriter::~EnergyCSVWriter ( )

Definition at line 2927 of file OutData.cpp.

References file.

Member Function Documentation

◆ write()

void polyfem::io::EnergyCSVWriter::write ( const int  i,
const Eigen::MatrixXd &  sol 
)

Definition at line 2932 of file OutData.cpp.

References file, polyfem::solver::SolveData::named_forms(), polyfem::solver::SolveData::nl_problem, solve_data, and polyfem::solver::SolveData::time_integrator.

Referenced by polyfem::State::solve_transient_tensor_nonlinear().

Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ file

std::ofstream polyfem::io::EnergyCSVWriter::file
protected

Definition at line 518 of file OutData.hpp.

Referenced by EnergyCSVWriter(), write(), and ~EnergyCSVWriter().

◆ solve_data

const solver::SolveData& polyfem::io::EnergyCSVWriter::solve_data
protected

Definition at line 519 of file OutData.hpp.

Referenced by EnergyCSVWriter(), and write().


The documentation for this class was generated from the following files: