1.0 Introduction
2.0 The PANACEA Model
- 2.1 Sequence of States
- 2.2 Simulation Packages
- 2.3 Simulation Variables
- 2.4 Physical Units
- 2.5 Data Flow
- 2.6 Generation of Initial State
- 2.7 Simulation
- 2.8 Data Management for Visualization
- 2.9 Source Functions and Source Data
- 2.10 Data Structures
- 2.11 Summary and Further Directions
3.0 PANACEA Objects
- 3.1 Packages
- 3.2 Variables
- 3.2.1 Variable Scopes
- DEFN
- RESTART
- DMND
- RUNTIME
- EDIT
- 3.2.2 Variable Classes
- REQU
- OPTL
- PSEUDO
- 3.2.3 Variable Persistence
- KEEP
- CACHE_F
- CACHE_R
- REL
- 3.2.4 Variable Centering
- 3.2.5 Variable Allocation
- 3.3 Source Variables
- 3.4 Initial Value Specifications
- 3.5 Plot Requests
- 3.6 Unit Specifications
4.0 The PANACEA C API
- 4.1 Database Definition and Control Functionality
- 4.1.1 PA_CURRENT_PACKAGE
- 4.1.2 PA_DEF_PACKAGE
- 4.1.3 PA_GEN_PACKAGE
- 4.1.4 PA_GET_MAX_NAME_SPACE
- 4.1.5 PA_INSTALL_FUNCTION
- 4.1.6 PA_INSTALL_IDENTIFIER
- 4.1.7 PA_RUN_TIME_PACKAGE
- 4.1.8 PA_SET_MAX_NAME_SPACE
- 4.2 Variable Definers
- 4.2.1 PA_DEF_VAR
- 4.3 Control Accessors/Definers
- 4.4 Unit Conversion/Definition Functionality
- 4.4.1 Unit/Conversion Definitions
- 4.4.2 Unit/Conversion Setup
- 4.5 Database Access Functionality
- 4.5.1 Variable Access for Simulation
- PA_INTERN
- PA_CONNECT
- PA_DISCONNECT
- PA_ACCESS
- PA_RELEASE
- PA_CHANGE_DIM
- PA_CHANGE_SIZE
- 4.5.2 Structured Data Support
- PA_MK_INSTANCE
- PA_RL_INSTANCE
- PA_GET_MEMBER
- PA_SET_MEMBER
- 4.5.3 Variable Access for Output
- 4.6 Simulation Control
- 4.6.1 PA_RD_RESTART
- 4.6.2 PA_SIMULATE
- 4.6.3 PA_RUN_PACKAGES
- 4.6.4 PA_FIN_SYSTEM
- 4.6.5 PA_ADVANCE_T
- 4.6.6 PA_WR_RESTART
- 4.6.7 PA_INIT_SYSTEM
- 4.6.8 PA_TERMINATE
- 4.7 Plot Request Handling
- 4.8 Generation Support
- 4.8.1 Generator Command Management
- PA_INST_COM
- PA_GET_COMMANDS
- 4.8.2 Generation Time Functions
- 4.9 Source Variable/Initial Value Data Handling
- 4.9.1 PA_GET_IV_SOURCE
- 4.9.2 PA_GET_SOURCE
- 4.9.3 PA_INTERP_SRC
- 4.9.4 PA_INTR_SPEC
- 4.9.5 PA_SOURCE_VARIABLES
- 4.10 Time History Data Management
- 4.10.1 PA_MERGE_FAMILY
- 4.10.2 PA_MERGE_FILES
- 4.10.3 PA_TH_DEF_REC
- 4.10.4 PA_TH_FAMILY
- 4.10.5 PA_TH_OPEN
- 4.10.6 PA_TH_TRANS_FAMILY
- 4.10.7 PA_TH_TRANS_LINK
- 4.10.8 PA_TH_TRANS_NAME
- 4.10.9 PA_TH_TRANSPOSE
- 4.10.10 PA_TH_WR_IATTR
- 4.10.11 PA_TH_WRITE
- 4.10.12 PA_TH_WR_MEMBER
- 4.11 Miscellaneous
- 4.11.1 Parsing Support
- 4.11.2 Array Operations
- 4.11.3 Error Handling
- 4.11.4 Timing Routines
- 4.11.5 Comparison Routines
5.0 The PANACEA FORTRAN API
- 5.1 Database Definition and Control Functionality
- 5.1.1 PAGNSP
- 5.1.2 PASNSP
- 5.1.3 PASPCK
- 5.2 Variable Definers
- 5.3 Control Accessors/Definers
- 5.4 Unit Conversion/Definition Functionality
- 5.5 Database Access Functionality
- 5.5.1 PACONN
- 5.5.2 PADCON
- 5.5.3 PALLOC
- 5.5.4 PALOCA
- 5.5.5 PAMCON
- 5.6 Simulation Control
- 5.7 Plot Request Handling
- 5.8 Generation Support
- 5.9 Source Variable/Initial Value Data Handling
- 5.10 Time History Data Management
- 5.10.1 PAAREC
- 5.10.2 PABREC
- 5.10.3 PAEREC
- 5.10.4 PAMRGF
- 5.10.5 PAMRGN
- 5.10.6 PATHFM
- 5.10.7 PATHOP
- 5.10.8 PATHTL
- 5.10.9 PATHTN
- 5.10.10 PATHTR
- 5.10.11 PATRNF
- 5.10.12 PATRNL
- 5.10.13 PATRNN
- 5.10.14 PAWREC
- 5.10.15 PAWMEM
- 5.10.16 PAWRIA
- 5.10.17 FORTRAN API Time History Example
- 5.11 Miscellaneous
6.0 PANACEA Initial Value Problem Generators
- 6.1 Generic Commands Supplied by PANACEA
7.0 PANACEA Supplied Physical Constants
- 7.0.1 Pure Numbers
- 7.0.2 Fundamental Physical Constants
- 7.0.3 Derived Physical Constants
8.0 Physical Units in PANACEA
9.0 Source Data Handling in PANACEA
10.0 The PANACEA Cookbook
- 10.1 Building a PANACEA Code System
Eliminate dimensional numeric constants 165
Build a function to define the package variables 166
Build a function to define the controls 167
Build the package initializer function 168
Build a wrapper for the main entry point 169
Build functions to handle each command 170
Build a function which installs the commands 171
Build a function to intern the package variable in the database 172
Install the package in the generator code 173
Install the foo package in the simulation code 173
- 10.2 The Monolithic Approach
- 10.3 ABC: A PANACEA Code
11.0 TOUL
12.0 PANACHE
- 12.1 Commands
- 12.1.1 Global Definition Commands
- 12.1.2 Package Definition Commands
- 12.2 Example: ABC Dictionary
- 12.2.1 The ABC System Information
- 12.2.2 The ABC Global Package
- 12.2.3 The ABC Hydro Package
- 12.2.4 The ABC Miscellaneous Package
- 12.2.5 Completing ABC
13.0 Other Documentation