Commit 57d93d2b authored by Santiago Ospina's avatar Santiago Ospina
Browse files

Created new CMake files and updated headers to new structure


Signed-off-by: Santiago Ospina De Los Ríos's avatarSantiago Ospina <santiago.ospina@iup.uni-heidelberg.de>
parent a3af99be
add_subdirectory(interface)
add_subdirectory(solver)
add_subdirectory(impl)
add_subdirectory("common")
add_subdirectory("model")
if(dune-testtools_FOUND)
add_subdirectory("test")
endif()
......
#install headers
install(FILES
boundary_condition.hh
grid_creator.hh
grid_function_writer.hh
h5tools.hh
interpolator.hh
setup_inifile.hh
simulation_base.hh
time_controller.hh
typedefs.hh
util.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/dorie/common)
\ No newline at end of file
......@@ -10,7 +10,7 @@
#include <dune/common/exceptions.hh>
#include "util_typedefs.hh"
#include <dune/dorie/common/typedefs.hh>
namespace Dune{
namespace Dorie{
......
......@@ -16,11 +16,9 @@
#include <dune/grid/yaspgrid.hh>
#include <dune/grid/uggrid.hh>
#include "interface/richards_simulation.hh"
#include "solver/util_grid_creator.hh"
#include "interface/setup_inifile.hh"
// #include <dune/dorie/dorie.hh> // System and DUNE Headers
#include "common/grid_creator.hh"
#include "common/setup_inifile.hh"
#include "model/richards/richards.hh"
//===============================================================
......
add_subdirectory("richards")
\ No newline at end of file
add_subdirectory("adaptivity")
add_subdirectory("adapters")
add_subdirectory("impl")
add_subdirectory("parametrization")
#install headers
install(FILES
flow_boundary.hh
flow_initial.hh
flow_source.hh
knofu.hh
local_operator.hh
richards.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/dorie/model/richards)
\ No newline at end of file
#install headers
install(FILES
conductivity.hh
discrete_grid_function_gradient.hh
saturation.hh
water_content.hh
water_flux.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/dorie/model/richards)
\ No newline at end of file
#ifndef DUNE_DORIE_CONDUCTIVITY_ADAPTER_HH
#define DUNE_DORIE_CONDUCTIVITY_ADAPTER_HH
#include "../param_richards.hh"
#include <dune/pdelab/common/function.hh>
namespace Dune{
namespace Dorie{
......
#ifndef DUNE_DORIE_SATURATION_ADAPTER_HH
#define DUNE_DORIE_SATURATION_ADAPTER_HH
#include <dune/pdelab/common/function.hh>
namespace Dune{
namespace Dorie{
......
#ifndef DUNE_DORIE_WATER_CONTENT_ADAPTER_HH
#define DUNE_DORIE_WATER_CONTENT_ADAPTER_HH
#include <dune/pdelab/common/function.hh>
namespace Dune{
namespace Dorie{
......
#ifndef DUNE_DORIE_RICHARDS_WATER_FLUX_ADAPTER_HH
#define DUNE_DORIE_RICHARDS_WATER_FLUX_ADAPTER_HH
#include "discrete_grid_function_gradient.hh"
#include <dune/pdelab/common/function.hh>
#include <dune/dorie/model/richards/adapters/discrete_grid_function_gradient.hh>
namespace Dune{
namespace Dorie{
......
#install headers
install(FILES
handler.hh
operator_error_indicator.hh
DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/dune/dorie/model/richards)
\ No newline at end of file
#ifndef DUNE_DORIE_ADAPTIVITY_HH
#define DUNE_DORIE_ADAPTIVITY_HH
#ifndef DUNE_DORIE_ADAPTIVITY_HANDLER_HH
#define DUNE_DORIE_ADAPTIVITY_HANDLER_HH
#include <iostream>
#include <string>
......@@ -16,7 +16,7 @@
#include <dune/pdelab/backend/istl.hh>
#include <dune/pdelab/adaptivity/adaptivity.hh>
#include "../solver/operator_error_indicator.hh"
#include <dune/dorie/model/richards/adaptivity/operator_error_indicator.hh>
namespace Dune{
namespace Dorie{
......@@ -322,4 +322,4 @@ public:
} // namespace Dune
#endif // DUNE_DORIE_ADAPTIVITY_HH
#endif // DUNE_DORIE_ADAPTIVITY_HANDLER_HH
......@@ -15,7 +15,7 @@
#include <dune/pdelab/localoperator/defaultimp.hh>
#include <dune/pdelab/finiteelement/localbasiscache.hh>
#include "operator_DG.hh"
#include <dune/dorie/model/richards/local_operator.hh>
namespace Dune {
namespace Dorie {
......
......@@ -7,7 +7,7 @@
#include <dune/common/exceptions.hh>
#include <dune/common/parametertree.hh>
#include "util_boundary_condition.hh"
#include <dune/dorie/common/boundary_condition.hh>
namespace Dune{
namespace Dorie{
......
#ifndef DUNE_DORIE_IMPL_HH
#define DUNE_DORIE_IMPL_HH
#ifndef DUNE_DORIE_RICHARDS_IMPL_HH
#define DUNE_DORIE_RICHARDS_IMPL_HH
#include <dune/grid/yaspgrid.hh>
#include <dune/geometry/type.hh>
......@@ -12,4 +12,4 @@ using Geo = Dune::GeometryType::BasicType;
}
}
#endif // DUNE_DORIE_IMPL_HH
\ No newline at end of file
#endif // DUNE_DORIE_RICHARDS_IMPL_HH
\ No newline at end of file
......@@ -2,8 +2,8 @@
#include "config.h"
#endif
#include <dune/dorie/impl/impl.hh>
#include <dune/dorie/interface/richards_simulation.cc>
#include <dune/dorie/model/richards/impl/impl.hh>
#include <dune/dorie/model/richards/richards.cc>
namespace Dune{
namespace Dorie{
......
......@@ -2,8 +2,8 @@
#include "config.h"
#endif
#include <dune/dorie/impl/impl.hh>
#include <dune/dorie/interface/richards_simulation.cc>
#include <dune/dorie/model/richards/impl/impl.hh>
#include <dune/dorie/model/richards/richards.cc>
namespace Dune{
namespace Dorie{
......
......@@ -2,8 +2,8 @@
#include "config.h"
#endif
#include <dune/dorie/impl/impl.hh>
#include <dune/dorie/interface/richards_simulation.cc>
#include <dune/dorie/model/richards/impl/impl.hh>
#include <dune/dorie/model/richards/richards.cc>
namespace Dune{
namespace Dorie{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment