UNPKG

ccs-sim

Version:
16 lines (15 loc) 604 B
import { Pressure } from 'physical-quantities'; import Fluid from './fluid'; import IElement, { IPhysicalElement, PressureSolution } from './element'; import Transport from './transport'; export default class PressureChanger extends Transport { outputPressure: Pressure; constructor(name: string, physical: IPhysicalElement, outputPressure: Pressure); setDestination(dest: IElement): void; getNewFluid(): Promise<Fluid>; process(fluid: Fluid): Promise<{ pressureSolution: PressureSolution; pressure: Pressure; target: null | Pressure; }>; }