[aspect-devel] The output of nonadiabatic_temperature
Nan Zhang
Nan.Zhang at colorado.edu
Mon Oct 24 05:11:14 PDT 2016
Hi Juliane,
I passed the first error in my previous email because I forgot including
"<aspect/lateral_averaging>" in visualization.cc!
But, I got new compiling error for nonadiabatic_temperature.cc like
********************************************************************
[ 0%] Building CXX object
CMakeFiles/aspect.dir/source/postprocess/visualization/nonadiabatic_temperature.cc.o
/group/pawsey0138/znan/sw_packages/aspect_trilinos/aspect_develop/source/postprocess/visualization/nonadiabatic_temperature.cc:
In member function 'virtual void
aspect::Postprocess::VisualizationPostprocessors::NonadiabaticTemperature<dim>::compute_derived_quantities_vector(const
std::vector<dealii::Vector<double> >&, const
std::vector<std::vector<dealii::Tensor<1, dim> > >&, const
std::vector<std::vector<dealii::Tensor<2, dim, double> > >&, const
std::vector<dealii::Point<dim, double> >&, const
std::vector<dealii::Point<dim, double> >&,
std::vector<dealii::Vector<double> >&) const':
/group/pawsey0138/znan/sw_packages/aspect_trilinos/aspect_develop/source/postprocess/visualization/nonadiabatic_temperature.cc:64:66:
error: 'ave_temp' was not declared in this scope
const unsigned int idx = static_cast<unsigned int>
((ave_temp.size()-1) * depth / this->get_geometry_model().maximal_depth());
^
make[2]: ***
[CMakeFiles/aspect.dir/source/postprocess/visualization/nonadiabatic_temperature.cc.o]
Error 1
make[1]: *** [CMakeFiles/aspect.dir/all] Error 2
make: *** [all] Error 2
********************************************************************
It seems that my modification in nonadiabatic_temperature.cc with ave_temp
array cannot transfer into the compute_derived_quantities_vector (). How
could I define an array and transfer information into
compute_derived_quantities_vector ()?
Thanks!
Nan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.geodynamics.org/pipermail/aspect-devel/attachments/20161024/848dc93a/attachment.html>
More information about the Aspect-devel
mailing list