perf(jacobian-action): major updates to jacobian action application by removing redudant quadrature work. ~5x increase in speed
This commit is contained in:
@@ -7,7 +7,7 @@ module;
|
||||
|
||||
export module mean_field:surface.constant;
|
||||
|
||||
export import :eos.quantities;
|
||||
export import :dimensions.quantities;
|
||||
|
||||
export namespace mean_field::surface {
|
||||
struct PressureSurfaceDescriptor final {
|
||||
@@ -22,8 +22,15 @@ export namespace mean_field::surface {
|
||||
*/
|
||||
class ConstantPressureSurface final {
|
||||
public:
|
||||
using PhysicalQuantity = eos::quantity::Pressure;
|
||||
using TargetValue = eos::PressureValue;
|
||||
struct Parameters final {
|
||||
dimensions::PressureValue Psurf;
|
||||
};
|
||||
|
||||
using PhysicalQuantity = dimensions::quantity::Pressure;
|
||||
using TargetValue = dimensions::PressureValue;
|
||||
|
||||
explicit ConstantPressureSurface(const Parameters parameters) : ConstantPressureSurface(parameters.Psurf) {
|
||||
}
|
||||
|
||||
explicit ConstantPressureSurface(const TargetValue targetPressure) : m_targetPressure(targetPressure) {
|
||||
if (!std::isfinite(targetPressure.value())) {
|
||||
|
||||
Reference in New Issue
Block a user