|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectmetab.Stomach
The Stomach class simulates the Stomach compartment in the
Compartmental model. The stomach's job is two-fold in that it both metabolizes
and delays the transport of ethanol through the body. Gastric Alcohol
Dehydrogenase (GADH) is responsible for the metabolism of some of the ethanol present
in the stomach. At the same time, ethanol is exiting the stomach through the
pyloric sphincter at a rate determined by the current ethanol concentration
in the stomach. The ethanol being metabolized should be removed from the system
by the user, just as in the LeanBodyMass class. Ethanol exiting
through the pyloric sphincter should be transfered to an Intestine
class by the user. Transfer and removal of ethanol and liquid should be handled
by the user using the addLiquid and addContents methods of the class. To implement,
the amount of ethanol (g) and the total liquid voluem (L) must be present. An optional
description (label) can also be used to better differentiate the compartment.
Intestine,
LeanBodyMass,
NMSubject,
Serialized Form| Field Summary | |
private double |
amount
Amount of ethanol (grams). |
private static double |
Km
Michaelis-Menton constant for GADH (mM). |
private static double |
ks
Ethanol transport rate constant from stomach to intestine (L/min). |
private java.lang.String |
label
Optional label for compartment. |
private double |
liquid
Amount of total liquid in the stomach (L). |
private static double |
Vmax
Maximum reaction rate for Gastric Alcohol Dehydrogenase (GADH) in mmol ethanol/min/L mucosa. |
| Constructor Summary | |
(package private) |
Stomach(double amount,
double liquid)
Constructor for stomach compartment. |
(package private) |
Stomach(double amount,
double liquid,
java.lang.String label)
Constructor for stomach compartment. |
| Method Summary | |
void |
addContents(double newContents)
Adds ethanol to the intestine compartment (can be a negative value). |
void |
addLiquid(double newLiquid)
Adds liquid from the beverage(s) and gastric fluid. |
void |
clear()
Resets compartment. |
double |
computeEthanolRelease()
Computes amount of ethanol being released into intestine. |
double |
computeMMMetab()
Computes amount of ethanol metabolized in stomach by GADH. |
double |
getContents()
Retrieves amount of ethanol remaining in intestine. |
java.lang.String |
getLabel()
Retrieves the optional label. |
double |
getLiquid()
Retrieves amount of liquid remaining in intestine. |
boolean |
isEmpty()
Checks to see if any ethanol remains in intestine. |
void |
setLabel(java.lang.String newLabel)
Sets optional label. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
private double amount
private double liquid
private static final double Vmax
private static final double Km
private static final double ks
private java.lang.String label
| Constructor Detail |
Stomach(double amount,
double liquid)
amount - Amount of ethanol (g).liquid - Amount of liquid including beverages and gastric fluid (L).Stomach(double , double , String)
Stomach(double amount,
double liquid,
java.lang.String label)
amount - Amount of ethanol (g).liquid - Amount of liquid including beverages and gastric fluid (L).label - Optional description for compartment.Stomach(double , double)| Method Detail |
public void addContents(double newContents)
newContents - Amount of ethanol being transfered (g).public void addLiquid(double newLiquid)
newLiquid - Amount of liquid being transfered (L).public void clear()
public double computeMMMetab()
double representing amount of metabolized ethanol (mM).public double computeEthanolRelease()
double representing rate of release (g/min).public double getContents()
double representing amount of ethanol (g).public java.lang.String getLabel()
String representing label.public double getLiquid()
double representing amount of liquid (L).public boolean isEmpty()
boolean specifying if intestine is empty.public void setLabel(java.lang.String newLabel)
newLabel - String representing new label.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||