-
Notifications
You must be signed in to change notification settings - Fork 238
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'rm-constitutive-setting-step-3' into 'master'
RichardsMechanics refactoring step 3 See merge request ogs/ogs!5017
- Loading branch information
Showing
9 changed files
with
660 additions
and
912 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
26 changes: 26 additions & 0 deletions
26
ProcessLib/RichardsMechanics/ConstitutiveRelations/DrySolidDensity.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
/** | ||
* \file | ||
* \copyright | ||
* Copyright (c) 2012-2024, OpenGeoSys Community (http://www.opengeosys.org) | ||
* Distributed under a Modified BSD License. | ||
* See accompanying file LICENSE.txt or | ||
* http://www.opengeosys.org/project/license | ||
* | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <string_view> | ||
|
||
#include "BaseLib/StrongType.h" | ||
|
||
namespace ProcessLib::RichardsMechanics | ||
{ | ||
// Apparent dry solid density | ||
using DrySolidDensity = BaseLib::StrongType<double, struct DrySolidDensityTag>; | ||
|
||
constexpr std::string_view ioName(struct DrySolidDensityTag*) | ||
{ | ||
return "dry_density_solid"; | ||
} | ||
} // namespace ProcessLib::RichardsMechanics |
25 changes: 25 additions & 0 deletions
25
ProcessLib/RichardsMechanics/ConstitutiveRelations/MicroPressure.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* \file | ||
* \copyright | ||
* Copyright (c) 2012-2024, OpenGeoSys Community (http://www.opengeosys.org) | ||
* Distributed under a Modified BSD License. | ||
* See accompanying file LICENSE.txt or | ||
* http://www.opengeosys.org/project/license | ||
* | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <string_view> | ||
|
||
#include "BaseLib/StrongType.h" | ||
|
||
namespace ProcessLib::RichardsMechanics | ||
{ | ||
using MicroPressure = BaseLib::StrongType<double, struct MicroPressureTag>; | ||
|
||
constexpr std::string_view ioName(struct MicroPressureTag*) | ||
{ | ||
return "micro_pressure"; | ||
} | ||
} // namespace ProcessLib::RichardsMechanics |
25 changes: 25 additions & 0 deletions
25
ProcessLib/RichardsMechanics/ConstitutiveRelations/MicroSaturation.h
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
/** | ||
* \file | ||
* \copyright | ||
* Copyright (c) 2012-2024, OpenGeoSys Community (http://www.opengeosys.org) | ||
* Distributed under a Modified BSD License. | ||
* See accompanying file LICENSE.txt or | ||
* http://www.opengeosys.org/project/license | ||
* | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <string_view> | ||
|
||
#include "BaseLib/StrongType.h" | ||
|
||
namespace ProcessLib::RichardsMechanics | ||
{ | ||
using MicroSaturation = BaseLib::StrongType<double, struct MicroSaturationTag>; | ||
|
||
constexpr std::string_view ioName(struct MicroSaturationTag*) | ||
{ | ||
return "micro_saturation"; | ||
} | ||
} // namespace ProcessLib::RichardsMechanics |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.