Skip to content
Snippets Groups Projects
Commit c2420531 authored by Dmitri Naumov's avatar Dmitri Naumov
Browse files

Update for moved files into the ProcessLib.

parent 5aa60628
No related branches found
No related tags found
No related merge requests found
......@@ -21,7 +21,7 @@
#include "GeoLib/GEOObjects.h"
#endif
#include "OGS/ProcessVariable.h"
#include "ProcessLib/ProcessVariable.h"
namespace MeshLib {
class Mesh;
}
......@@ -93,7 +93,7 @@ private:
#endif
std::vector<MeshLib::Mesh*> _mesh_vec;
std::vector<ProcessLib::Process*> _processes;
std::vector<OGS::ProcessVariable> _process_variables;
std::vector<ProcessLib::ProcessVariable> _process_variables;
};
#endif //PROJECTDATA_H_
......@@ -7,8 +7,8 @@
*
*/
#ifndef OGS_BOUNDARY_CONDITION_H_
#define OGS_BOUNDARY_CONDITION_H_
#ifndef PROCESS_LIB_BOUNDARY_CONDITION_H_
#define PROCESS_LIB_BOUNDARY_CONDITION_H_
#include <boost/property_tree/ptree.hpp>
#include "logog/include/logog.hpp"
......@@ -18,7 +18,7 @@ namespace GeoLib
class GeoObject;
}
namespace OGS
namespace ProcessLib
{
class BoundaryCondition
......@@ -54,6 +54,6 @@ private:
};
} // namespace OGS
} // namespace ProcessLib
#endif // OGS_BOUNDARY_CONDITION_H_
#endif // PROCESS_LIB_BOUNDARY_CONDITION_H_
......@@ -14,7 +14,7 @@
#include "logog/include/logog.hpp"
#include "MeshLib/Mesh.h"
#include "OGS/ProcessVariable.h"
#include "ProcessVariable.h"
namespace ProcessLib
{
......@@ -25,7 +25,7 @@ class GroundwaterFlowProcess : public Process
public:
GroundwaterFlowProcess(MeshLib::Mesh const& mesh,
std::vector<OGS::ProcessVariable> const& variables,
std::vector<ProcessVariable> const& variables,
ConfigTree const& config)
: Process(mesh, 1)
{
......@@ -35,7 +35,7 @@ public:
std::string const name = config.get<std::string>("process_variable");
auto const& variable = std::find_if(variables.cbegin(), variables.cend(),
[&name](OGS::ProcessVariable const& v) {
[&name](ProcessVariable const& v) {
return v.getName() == name;
});
......@@ -58,7 +58,7 @@ public:
}
private:
OGS::ProcessVariable const* _hydraulic_head = nullptr;
ProcessVariable const* _hydraulic_head = nullptr;
};
} // namespace ProcessLib
......
......@@ -7,15 +7,15 @@
*
*/
#ifndef OGS_INITIAL_CONDITION_H_
#define OGS_INITIAL_CONDITION_H_
#ifndef PROCESS_LIB_INITIAL_CONDITION_H_
#define PROCESS_LIB_INITIAL_CONDITION_H_
#include <boost/property_tree/ptree.hpp>
#include "logog/include/logog.hpp"
#include "MeshLib/Mesh.h"
namespace OGS
namespace ProcessLib
{
class InitialCondition
......@@ -42,6 +42,6 @@ private:
};
} // namespace OGS
} // namespace ProcessLib
#endif // OGS_INITIAL_CONDITION_H_
#endif // PROCESS_LIB_INITIAL_CONDITION_H_
......@@ -7,8 +7,8 @@
*
*/
#ifndef OGS_PROCESS_VARIABLE_H_
#define OGS_PROCESS_VARIABLE_H_
#ifndef PROCESS_LIB_PROCESS_VARIABLE_H_
#define PROCESS_LIB_PROCESS_VARIABLE_H_
#include <boost/property_tree/ptree.hpp>
#include "logog/include/logog.hpp"
......@@ -16,10 +16,10 @@
#include "GeoLib/GEOObjects.h"
#include "MeshLib/Mesh.h"
#include "OGS/BoundaryCondition.h"
#include "OGS/InitialCondition.h"
#include "BoundaryCondition.h"
#include "InitialCondition.h"
namespace OGS
namespace ProcessLib
{
/// A named process variable. Its properties includes the mesh, and the initial
......@@ -46,7 +46,7 @@ public:
if (type == "Uniform")
{
_initial_condition =
new OGS::UniformInitialCondition(ic_config->second);
new UniformInitialCondition(ic_config->second);
}
else
{
......@@ -82,7 +82,7 @@ public:
if (type == "Dirichlet")
{
_boundary_conditions.emplace_back(
new OGS::DirichletBoundaryCondition(
new DirichletBoundaryCondition(
geometry, bc_config));
}
else
......@@ -111,10 +111,10 @@ public:
private:
std::string const _name;
MeshLib::Mesh const& _mesh;
OGS::InitialCondition* _initial_condition;
std::vector<OGS::BoundaryCondition*> _boundary_conditions;
InitialCondition* _initial_condition;
std::vector<BoundaryCondition*> _boundary_conditions;
};
} // namespace OGS
} // namespace ProcessLib
#endif // OGS_PROCESS_VARIABLE_H_
#endif // PROCESS_LIB_PROCESS_VARIABLE_H_
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment