I have read in a file called thickness.txt and assigned the columns of the file as vectors (latitudes_iso, longitudes_iso, depth_iso). I want to check that all data in the file thickness.txt is being read in. How can I print the information in latitudes_iso, longitudes_iso, and depth_iso to the screen?
class LithosphereIsotherm : public Interface<dim>
{
public:
/**
* Return the initial temperature as a function of position.
*/
virtualdouble
initial_temperature(const Point<dim> &position) const;
/**
* Declare the parameters this class takes through input files.
* The default implementation of this function does not describe
* any parameters. Consequently, derived classes do not have to
* overload this function if they do not take any runtime parameters.
*/
staticvoid
declare_parameters(ParameterHandler &prm);
/**
* Read the parameters this class declares from the parameter
* file. The default implementation of this function does not read
* any parameters. Consequently, derived classes do not have to
* overload this function if they do not take any runtime parameters.
*/
virtualvoid
parse_parameters(ParameterHandler &prm);
private:
/**
* Return the depth at which the temperature is 1673.15 K as a function of position.
*/
double
get_lithosphere_isotherm(constdouble latitude,
constdouble longitude) const;
/**
* Read and access depth to isotherm file thickness.txt
*/
std::vector<double> latitudes_iso;
std::vector<double> longitudes_iso;
std::vector<double> depths_iso;
};