s_imodel Struct Reference

Model - data members. More...

#include <model.h>

List of all members.

Public Attributes

void * specs
 pointer to struct containing FD scheme parameters.
grid g
 Grid struct - global primal simulation grid.
std::vector< gridsfg
 Array of static field grids.
grid gl
 Local primal grid = the grid implicit in the local computational domain.
IPNT nls
 artificial boundary layer widths
IPNT nrs
int nnei
 Number of neighbor processors.
TIMESTEPINDEX tsind
 Time step information.
std::vector< std::string > active
 array of active array names - must be determined by model initialization code, as choice is opaque at this level.
RDOM ld_a
 Allocated domain.
RDOM ld_c
 Computational virtual domain.
RDOM ld_p
 Physical virtual domain - may be same as computational virtual domain.
RDOMld_s
 Array of send virtual domains.
RDOMld_r
 Array of recv virtual domains.


Detailed Description

Model - data members.

Contains almost all data structures for a simulation except the parallel information. Also contains pointer to opaque specs data structure characterizing specific model.

Class structure: this is a base class. Several members represent virtual attributes to be initialized by subclass construction - obviously including specs, but also active field list and various domains.

Definition at line 105 of file model.h.


Member Data Documentation

void* s_imodel::specs

pointer to struct containing FD scheme parameters.

Must be initialized by IWaveInfo::fd_modelinit

Definition at line 110 of file model.h.

grid s_imodel::g

Grid struct - global primal simulation grid.

All other structures follow from this one. Usually read from file, using the grid package i/o functions. If several grids are involved in a simulation (as is the case for staggered grid schemes, for example), this grid provides all information necessary to create all other grids.

Definition at line 120 of file model.h.

std::vector<grid> s_imodel::sfg

Array of static field grids.

Each contains a copy of the global primal grid as axes 0,...,dim-1. Each may possess internal or external extended axes.

Definition at line 127 of file model.h.

grid s_imodel::gl

Local primal grid = the grid implicit in the local computational domain.

For parallel simulation via domain decomp, a subgrid of g.

Definition at line 134 of file model.h.

IPNT s_imodel::nls

artificial boundary layer widths

Definition at line 137 of file model.h.

IPNT s_imodel::nrs

Definition at line 137 of file model.h.

int s_imodel::nnei

Number of neighbor processors.

Definition at line 140 of file model.h.

TIMESTEPINDEX s_imodel::tsind

Time step information.

Definition at line 143 of file model.h.

std::vector<std::string> s_imodel::active

array of active array names - must be determined by model initialization code, as choice is opaque at this level.

Example: components of velocity stored as separate arrays - then number of active components = model dimension, not known until run time

Definition at line 149 of file model.h.

RDOM s_imodel::ld_a

Allocated domain.

Definition at line 152 of file model.h.

RDOM s_imodel::ld_c

Computational virtual domain.

Definition at line 154 of file model.h.

RDOM s_imodel::ld_p

Physical virtual domain - may be same as computational virtual domain.

Definition at line 156 of file model.h.

RDOM* s_imodel::ld_s

Array of send virtual domains.

Definition at line 158 of file model.h.

RDOM* s_imodel::ld_r

Array of recv virtual domains.

Definition at line 160 of file model.h.


The documentation for this struct was generated from the following file:
Generated on 5 Jan 2017 for IWAVECORE by  doxygen 1.4.7