region4.cpp File Reference

#include "region4.h"
#include "region1.h"
#include "region2.h"
#include "steamcalculator.h"
#include "steamcalculator_macros.h"
#include <stdio.h>

Include dependency graph for region4.cpp:


Defines

#define INTERP_REGION4(FUNC, TYPE)

Functions

 INTERP_REGION4 (specvol, SpecificVolume)
 INTERP_REGION4 (specienergy, SpecificEnergy)
 INTERP_REGION4 (specentropy, SpecificEntropy)
 INTERP_REGION4 (specenthalpy, SpecificEnergy)
 INTERP_REGION4 (speccp, SpecHeatCap)
 INTERP_REGION4 (speccv, SpecHeatCap)

Define Documentation

#define INTERP_REGION4 ( FUNC,
TYPE   ) 

Value:

TYPE Region4::FUNC(const SteamCalculator &c) const{ \
                ASSERT(c.x >= 0); \
                ASSERT(c.x <= 1); \
                SteamCalculator *g = c.gas; \
                SteamCalculator *l = c.liq; \
                TYPE sub = l->FUNC(); \
                TYPE sup = g->FUNC(); \
                return sub*(1 - c.x)+sup*(c.x); \
        }


Function Documentation

INTERP_REGION4 ( speccv  ,
SpecHeatCap   
)

INTERP_REGION4 ( speccp  ,
SpecHeatCap   
)

INTERP_REGION4 ( specenthalpy  ,
SpecificEnergy   
)

INTERP_REGION4 ( specentropy  ,
SpecificEntropy   
)

INTERP_REGION4 ( specienergy  ,
SpecificEnergy   
)

INTERP_REGION4 ( specvol  ,
SpecificVolume   
)


Generated on Tue Feb 10 18:37:37 2009 for freesteam by  doxygen 1.5.6