Thank you very much. Please see the following error message (red parts) which is all I get from the Github version.
Scanning dependencies of target thm
[ 20%] Building CXX object CMakeFiles/thm.dir/src/main.cc.o
In file included from /home/shyaan/thm/src/main.cc:8:0:
/home/shyaan/thm/./include/geothermal.h: In instantiation of ‘class CoupledTH<3>’:
/home/shyaan/thm/src/main.cc:30:35: required from here
/home/shyaan/thm/./include/geothermal.h:112:45: error: cannot declare field ‘CoupledTH<3>::triangulation’ to be of abstract type ‘dealii::parallel::distributed::Triangulation<3, 3>’
parallel::distributed::Triangulation<dim> triangulation; // grid
^~~~~~~~~~~~~
In file included from /home/shyaan/thm/./include/geothermal.h:32:0,
from /home/shyaan/thm/src/main.cc:8:
/home/shyaan/dealii/include/deal.II/distributed/tria.h:1402:11: note: because the following virtual functions are pure within ‘dealii::parallel::distributed::Triangulation<3, 3>’:
class Triangulation
^~~~~~~~~~~~~
In file included from /home/shyaan/dealii/include/deal.II/dofs/dof_handler.h:29:0,
from /home/shyaan/dealii/include/deal.II/numerics/vector_tools_boundary.h:22,
from /home/shyaan/dealii/include/deal.II/numerics/vector_tools.h:22,
from /home/shyaan/thm/./include/boundaryvalues.h:8,
from /home/shyaan/thm/src/main.cc:1:
/home/shyaan/dealii/include/deal.II/distributed/tria_base.h:105:5: note: bool dealii::parallel::TriangulationBase<dim, spacedim>::is_multilevel_hierarchy_constructed() const [with int dim = 3; int spacedim = 3]
is_multilevel_hierarchy_constructed() const = 0;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /home/shyaan/thm/src/main.cc:8:0:
/home/shyaan/thm/./include/geothermal.h: In instantiation of ‘CoupledTH<dim>::CoupledTH(unsigned int) [with int dim = 3]’:
/home/shyaan/thm/src/main.cc:30:37: required from here
/home/shyaan/thm/./include/geothermal.h:125:22: warning: ‘CoupledTH<3>::degree’ will be initialized after [-Wreorder]
const unsigned int degree; // element degree
^~~~~~
/home/shyaan/thm/./include/geothermal.h:116:15: warning: ‘dealii::QGauss<3> CoupledTH<3>::quadrature_formula’ [-Wreorder]
QGauss<dim> quadrature_formula;
^~~~~~~~~~~~~~~~~~
/home/shyaan/thm/./include/geothermal.h:161:1: warning: when initialized here [-Wreorder]
CoupledTH<dim>::CoupledTH(const unsigned int degree) // initialization
^~~~~~~~~~~~~~
/home/shyaan/thm/./include/geothermal.h:150:16: warning: ‘CoupledTH<3>::T_iteration_namber’ will be initialized after [-Wreorder]
unsigned int T_iteration_namber;
^~~~~~~~~~~~~~~~~~
/home/shyaan/thm/./include/geothermal.h:109:22: warning: ‘dealii::ConditionalOStream CoupledTH<3>::pcout’ [-Wreorder]
ConditionalOStream pcout;
^~~~~
/home/shyaan/thm/./include/geothermal.h:161:1: warning: when initialized here [-Wreorder]
CoupledTH<dim>::CoupledTH(const unsigned int degree) // initialization
^~~~~~~~~~~~~~
/home/shyaan/thm/./include/geothermal.h:183:63: error: no matching function for call to ‘dealii::parallel::distributed::Triangulation<3, 3>::Triangulation(ompi_communicator_t*&)’
EquationData::file_name_interpolation) {
^
In file included from /home/shyaan/thm/./include/geothermal.h:32:0,
from /home/shyaan/thm/src/main.cc:8:
/home/shyaan/dealii/include/deal.II/distributed/tria.h:1410:7: note: candidate: dealii::parallel::distributed::Triangulation<dim, spacedim>::Triangulation() [with int dim = 3; int spacedim = 3] <deleted>
Triangulation() = delete;
^~~~~~~~~~~~~
/home/shyaan/dealii/include/deal.II/distributed/tria.h:1410:7: note: candidate expects 0 arguments, 1 provided
/home/shyaan/dealii/include/deal.II/distributed/tria.h:1402:11: note: candidate: dealii::parallel::distributed::Triangulation<3, 3>::Triangulation(const dealii::parallel::distributed::Triangulation<3, 3>&) <deleted>
class Triangulation
^~~~~~~~~~~~~
/home/shyaan/dealii/include/deal.II/distributed/tria.h:1402:11: note: no known conversion for argument 1 from ‘MPI_Comm {aka ompi_communicator_t*}’ to ‘const dealii::parallel::distributed::Triangulation<3, 3>&’
/home/shyaan/dealii/include/deal.II/distributed/tria.h:1402:11: note: candidate: dealii::parallel::distributed::Triangulation<3, 3>::Triangulation(dealii::parallel::distributed::Triangulation<3, 3>&&) <deleted>
/home/shyaan/dealii/include/deal.II/distributed/tria.h:1402:11: note: no known conversion for argument 1 from ‘MPI_Comm {aka ompi_communicator_t*}’ to ‘dealii::parallel::distributed::Triangulation<3, 3>&&’
In file included from /home/shyaan/thm/src/main.cc:8:0:
/home/shyaan/thm/./include/geothermal.h: In instantiation of ‘void CoupledTH<dim>::assemble_P_system() [with int dim = 3]’:
/home/shyaan/thm/./include/geothermal.h:875:24: required from ‘void CoupledTH<dim>::run() [with int dim = 3]’
/home/shyaan/thm/src/main.cc:31:27: required from here
/home/shyaan/thm/./include/geothermal.h:428:50: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (cell->face(face_no)->boundary_id() ==
/home/shyaan/thm/./include/geothermal.h: In instantiation of ‘void CoupledTH<dim>::assemble_T_system() [with int dim = 3]’:
/home/shyaan/thm/./include/geothermal.h:879:24: required from ‘void CoupledTH<dim>::run() [with int dim = 3]’
/home/shyaan/thm/src/main.cc:31:27: required from here
/home/shyaan/thm/./include/geothermal.h:622:51: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if(cell->face(face_no)->boundary_id() ==
In file included from /home/shyaan/thm/src/main.cc:1:0:
/home/shyaan/thm/./include/boundaryvalues.h: In instantiation of ‘double EquationData::TemperatureNeumanBoundaryValues<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/src/main.cc:84:1: required from here
/home/shyaan/thm/./include/boundaryvalues.h:165:16: warning: unused variable ‘time’ [-Wunused-variable]
const double time = this->get_time();
^~~~
/home/shyaan/thm/./include/boundaryvalues.h:159:23: warning: unused parameter ‘p’ [-Wunused-paramete]
const Point<dim>& p, const unsigned int /*component*/) const {
^
In file included from /home/shyaan/thm/src/main.cc:6:0:
/home/shyaan/thm/./include/sourceterm.h: In instantiation of ‘double EquationData::TemperatureSourceTerm<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/src/main.cc:84:1: required from here
/home/shyaan/thm/./include/sourceterm.h:74:16: warning: unused variable ‘time’ [-Wunused-variable]
const double time = this->get_time(); // get time
^~~~
/home/shyaan/thm/./include/sourceterm.h:69:60: warning: unused parameter ‘p’ [-Wunused-parameter]
double TemperatureSourceTerm<dim>::value(const Point<dim>& p,
^
In file included from /home/shyaan/thm/src/main.cc:1:0:
/home/shyaan/thm/./include/boundaryvalues.h: In instantiation of ‘double EquationData::PressureNeumanBoundaryValues<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/src/main.cc:84:1: required from here
/home/shyaan/thm/./include/boundaryvalues.h:133:10: warning: unused variable ‘time’ [-Wunused-variable]
double time = this->get_time(); // get time
^~~~
/home/shyaan/thm/./include/boundaryvalues.h:128:23: warning: unused parameter ‘p’ [-Wunused-paramete]
const Point<dim>& p, const unsigned int /*component*/) const {
^
In file included from /home/shyaan/thm/src/main.cc:6:0:
/home/shyaan/thm/./include/sourceterm.h: In instantiation of ‘double EquationData::PressureSourceTerm<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/src/main.cc:84:1: required from here
/home/shyaan/thm/./include/sourceterm.h:35:16: warning: unused variable ‘time’ [-Wunused-variable]
const double time = this->get_time(); // get time
^~~~
/home/shyaan/thm/./include/sourceterm.h:30:57: warning: unused parameter ‘p’ [-Wunused-parameter]
double PressureSourceTerm<dim>::value(const Point<dim>& p,
^
In file included from /home/shyaan/thm/src/main.cc:1:0:
/home/shyaan/thm/./include/boundaryvalues.h: In instantiation of ‘double EquationData::TemperatureDirichletBoundaryValues<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/src/main.cc:84:1: required from here
/home/shyaan/thm/./include/boundaryvalues.h:81:16: warning: unused variable ‘time’ [-Wunused-variabl]
const double time = this->get_time();
^~~~
/home/shyaan/thm/./include/boundaryvalues.h: In instantiation of ‘double EquationData::PressureDirichletBoundaryValues<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/src/main.cc:84:1: required from here
/home/shyaan/thm/./include/boundaryvalues.h:40:16: warning: unused variable ‘time’ [-Wunused-variabl]
const double time = this->get_time(); // get time
^~~~
In file included from /home/shyaan/thm/src/main.cc:6:0:
/home/shyaan/thm/./include/sourceterm.h: In member function ‘double EquationData::PressureSourceTerm<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/./include/sourceterm.h:44:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
In file included from /home/shyaan/thm/src/main.cc:1:0:
/home/shyaan/thm/./include/boundaryvalues.h: In member function ‘double EquationData::PressureNeumanBoundaryValues<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/./include/boundaryvalues.h:137:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/shyaan/thm/./include/boundaryvalues.h: In member function ‘double EquationData::TemperatureNeumanBoundaryValues<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/./include/boundaryvalues.h:174:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
/home/shyaan/thm/./include/boundaryvalues.h: In member function ‘double EquationData::PressureDirichletBoundaryValues<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/./include/boundaryvalues.h:53:1: warning: control reaches end of non-void function -Wreturn-type]
}
^
/home/shyaan/thm/./include/boundaryvalues.h: In member function ‘double EquationData::TemperatureDirichletBoundaryValues<dim>::value(const dealii::Point<dim>&, unsigned int) const [with int dim = 3]’:
/home/shyaan/thm/./include/boundaryvalues.h:98:1: warning: control reaches end of non-void function -Wreturn-type]
}
^
CMakeFiles/thm.dir/build.make:62: recipe for target 'CMakeFiles/thm.dir/src/main.cc.o' failed
make[2]: *** [CMakeFiles/thm.dir/src/main.cc.o] Error 1
CMakeFiles/Makefile2:163: recipe for target 'CMakeFiles/thm.dir/all' failed
make[1]: *** [CMakeFiles/thm.dir/all] Error 2
Makefile:83: recipe for target 'all' failed
make: *** [all] Error 2