OpenStudio:airflow
Loading...
Searching...
No Matches
openstudio::contam::PressureCoefficientPoint Class Reference

#include <PrjSubobjects.hpp>

Public Member Functions

Constructors
 PressureCoefficientPoint ()
 Create a new object with default values.
 
 PressureCoefficientPoint (double azm, double coef)
 Create a new object.
 
 PressureCoefficientPoint (std::string azm, std::string coef)
 Create a new object.
 
Input and Output
void read (Reader &reader)
 Read an object from a Reader.
 
std::string write ()
 Write the object to a string.
 

Getters and Setters

double azm () const
 Returns the wind azimuth value [degrees].
 
bool setAzm (const double azm)
 Sets the wind azimuth value [degrees].
 
bool setAzm (const std::string &azm)
 Sets the wind azimuth value [degrees].
 
double coef () const
 Returns the normalized wind pressure coefficient.
 
bool setCoef (const double coef)
 Sets the normalized wind pressure coefficient.
 
bool setCoef (const std::string &coef)
 Sets the normalized wind pressure coefficient.
 

Detailed Description

The PressureCoefficientPoint object contains a single wind pressure coefficient data point.

The azimuthal angle is stored in degrees from north with the corresponding pressure coefficient.

Constructor & Destructor Documentation

◆ PressureCoefficientPoint() [1/3]

openstudio::contam::PressureCoefficientPoint::PressureCoefficientPoint ( )

Create a new object with default values.

◆ PressureCoefficientPoint() [2/3]

openstudio::contam::PressureCoefficientPoint::PressureCoefficientPoint ( double azm,
double coef )

Create a new object.

◆ PressureCoefficientPoint() [3/3]

openstudio::contam::PressureCoefficientPoint::PressureCoefficientPoint ( std::string azm,
std::string coef )

Create a new object.

Member Function Documentation

◆ azm()

double openstudio::contam::PressureCoefficientPoint::azm ( ) const

Returns the wind azimuth value [degrees].

◆ coef()

double openstudio::contam::PressureCoefficientPoint::coef ( ) const

Returns the normalized wind pressure coefficient.

◆ read()

void openstudio::contam::PressureCoefficientPoint::read ( Reader & reader)

Read an object from a Reader.

◆ setAzm() [1/2]

bool openstudio::contam::PressureCoefficientPoint::setAzm ( const double azm)

Sets the wind azimuth value [degrees].

◆ setAzm() [2/2]

bool openstudio::contam::PressureCoefficientPoint::setAzm ( const std::string & azm)

Sets the wind azimuth value [degrees].

◆ setCoef() [1/2]

bool openstudio::contam::PressureCoefficientPoint::setCoef ( const double coef)

Sets the normalized wind pressure coefficient.

◆ setCoef() [2/2]

bool openstudio::contam::PressureCoefficientPoint::setCoef ( const std::string & coef)

Sets the normalized wind pressure coefficient.

◆ write()

std::string openstudio::contam::PressureCoefficientPoint::write ( )

Write the object to a string.