Skip to content

Commit

Permalink
Merge pull request #170 from LBNL-ETA/CompositionHeatFlowAttempt
Browse files Browse the repository at this point in the history
Composition heat flow attempt
  • Loading branch information
vidanovic authored Dec 1, 2023
2 parents fd68258 + ef5267a commit 3929d68
Show file tree
Hide file tree
Showing 78 changed files with 4,219 additions and 4,697 deletions.
1 change: 0 additions & 1 deletion src/Common/include/WCECommon.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@
#include "../src/MatrixSeries.hpp"
#include "../src/Series.hpp"
#include "../src/SquareMatrix.hpp"
#include "../src/State.hpp"
#include "../src/SurfaceCoating.hpp"
#include "../src/WavelengthRange.hpp"
#include "../src/PolynomialFit.hpp"
Expand Down
43 changes: 0 additions & 43 deletions src/Common/src/State.cpp

This file was deleted.

30 changes: 0 additions & 30 deletions src/Common/src/State.hpp

This file was deleted.

7 changes: 7 additions & 0 deletions src/Common/src/Utility.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#include <thread>
#include <algorithm>

#include "Utility.hpp"
#include "Constants.hpp"

namespace FenestrationCommon
{
Expand Down Expand Up @@ -41,4 +43,9 @@ namespace FenestrationCommon
static const size_t minNumberOfThreads{1u};
return std::max(minNumberOfThreads, numberOfThreads);
}

bool isVacuum(double pressure)
{
return pressure <= ConstantsData::VACUUMPRESSURE;
}
} // namespace FenestrationCommon
2 changes: 2 additions & 0 deletions src/Common/src/Utility.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,6 @@ namespace FenestrationCommon
&& std::equal(lhs.begin(), lhs.end(),
rhs.begin());
}

[[nodiscard]] bool isVacuum(double pressure);
}
4 changes: 3 additions & 1 deletion src/Tarcog/include/WCETarcog.hpp
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
#pragma once

#include "../src/BaseIGULayer.hpp"
#include "../src/AirFlow.hpp"
#include "../src/GasSpecification.hpp"
#include "../src/BaseLayer.hpp"
#include "../src/BaseShade.hpp"
#include "../src/DeflectionInterface.hpp"
#include "../src/Environment.hpp"
#include "../src/Environments.hpp"
#include "../src/HeatFlowBalance.hpp"
Expand Down
32 changes: 32 additions & 0 deletions src/Tarcog/src/AirFlow.hpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
#pragma once

namespace Tarcog::ISO15099
{
enum class AirVerticalDirection
{
None,
Up,
Down
};

enum class AirHorizontalDirection
{
None,
Leeward,
Windward
};

struct AirflowProperties
{
AirflowProperties() = default;
AirflowProperties(double mAirSpeed,
AirVerticalDirection mAirVerticalDirection,
AirHorizontalDirection mAirHorizontalDirection,
bool mIsVentilationForced);

double m_AirSpeed{0};
AirVerticalDirection m_AirVerticalDirection{AirVerticalDirection::None};
AirHorizontalDirection m_AirHorizontalDirection{AirHorizontalDirection::None};
bool m_IsVentilationForced{false};
};
}
14 changes: 14 additions & 0 deletions src/Tarcog/src/Airflow.cpp
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#include "AirFlow.hpp"

namespace Tarcog::ISO15099
{
AirflowProperties::AirflowProperties(double mAirSpeed,
AirVerticalDirection mAirVerticalDirection,
AirHorizontalDirection mAirHorizontalDirection,
bool mIsVentilationForced) :
m_AirSpeed(mAirSpeed),
m_AirVerticalDirection(mAirVerticalDirection),
m_AirHorizontalDirection(mAirHorizontalDirection),
m_IsVentilationForced(mIsVentilationForced)
{}
}
51 changes: 0 additions & 51 deletions src/Tarcog/src/BaseIGULayer.cpp

This file was deleted.

39 changes: 0 additions & 39 deletions src/Tarcog/src/BaseIGULayer.hpp

This file was deleted.

Loading

0 comments on commit 3929d68

Please sign in to comment.