-
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 'trm-data-in-tuples' into 'master'
[PL/TRM] Hold data in tuples, not structs See merge request ogs/ogs!4921
- Loading branch information
Showing
27 changed files
with
569 additions
and
871 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
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 |
---|---|---|
|
@@ -9,7 +9,7 @@ | |
|
||
#pragma once | ||
|
||
#include "boost/mp11.hpp" | ||
#include <boost/mp11.hpp> | ||
|
||
namespace ProcessLib::Graph | ||
{ | ||
|
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
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
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
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
55 changes: 0 additions & 55 deletions
55
ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/Invoke.h
This file was deleted.
Oops, something went wrong.
30 changes: 30 additions & 0 deletions
30
ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/MechanicalStrainData.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,30 @@ | ||
/** | ||
* \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 "Base.h" | ||
|
||
namespace ProcessLib::ThermoRichardsMechanics | ||
{ | ||
template <int DisplacementDim> | ||
struct MechanicalStrainData | ||
{ | ||
// TODO it seems fragile that some data have to be initialized that way. | ||
KelvinVector<DisplacementDim> eps_m = KV::KVzero<DisplacementDim>(); | ||
|
||
static auto reflect() | ||
{ | ||
using Self = MechanicalStrainData<DisplacementDim>; | ||
|
||
return ProcessLib::Reflection::reflectWithName("eps_m", &Self::eps_m); | ||
} | ||
}; | ||
} // namespace ProcessLib::ThermoRichardsMechanics |
25 changes: 25 additions & 0 deletions
25
ProcessLib/ThermoRichardsMechanics/ConstitutiveCommon/SolidMechanicsDataStateless.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 "Base.h" | ||
|
||
namespace ProcessLib::ThermoRichardsMechanics | ||
{ | ||
template <int DisplacementDim> | ||
struct SolidMechanicsDataStateless | ||
{ | ||
KelvinMatrix<DisplacementDim> stiffness_tensor = | ||
KV::KMnan<DisplacementDim>(); | ||
KelvinVector<DisplacementDim> J_uT_BT_K_N = KV::KVnan<DisplacementDim>(); | ||
KelvinVector<DisplacementDim> J_up_BT_K_N = KV::KVnan<DisplacementDim>(); | ||
}; | ||
} // namespace ProcessLib::ThermoRichardsMechanics |
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
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.