template <class T> class INFab Array defined at the VoFs of an irregular domain.
An INFab is an array of data defined in an irregular region of space. The irregular region is specified by the VoFs of an IrregGeom. Multiple data components per VoF may be specified in the INFab definition.
Default constructor. Constructs an uninitialized INFab. You must
subsequently call define before using this INFab.
Arguments: none
Returns: none
This:
----- This object is modified. -----
Defining constructor. Specifies the valid domain, in the form of
an IrregGeom, and the number of data components per VoF. The
contents are uninitialized.
Arguments:
iggeom_in (not modified): the valid domain of this INFab
nvarin (not modified): the number of data components per VoF
Returns: none
This:
----- This object is modified. -----
Initializing constructor. Specifies the valid domain, in the form
of an IrregGeom, the number of data components per VoF, and the
initial value of the data.
Arguments:
iggeom_in (not modified): the valid domain of this INFab
nvarin (not modified): the number of data components per VoF
valin (not modified): the initial value of the data
Returns: none
This:
----- This object is modified. -----
Destructor. Destroys internal data.
Arguments: none
Returns: none
This:
----- This object is modified. -----
Define this INFab. Specifies the valid domain, in the form of an
IrregGeom, and the number of data components per VoF. The contents
are uninitialized. If it has previously been defined, the old definition
data is overwritten and lost.
Arguments:
iggeom_in (not modified): the valid domain of this INFab
nvarin (not modified): the number of data components per VoF
Returns: none
This:
----- This object is modified. -----
Define and initialize this INFab. Specifies the valid domain, in
the form of an IrregGeom, the number of data components per VoF, and
the initial value of the data.
Arguments:
iggeom_in (not modified): the valid domain of this INFab
nvarin (not modified): the number of data components per VoF
valin (not modified): the initial value of the data
Returns: none
This:
----- This object is modified. -----
Set a value everywhere. Every data location in this INFab is set.
Arguments:
value (not modified): the specified value of the contents of this INFab.
Returns: none
This:
----- This object is modified. -----
Copy the contents of another INFab into this INFab. It is an error if
the two INFabs do not have the same IrregGeom.
Arguments:
src (not modified): the INFab to copy from
Returns: none
This:
----- This object is modified. -----
Remove all data from this INFab. You must call define again in order
to use it.
Arguments: none
Returns: none
This:
----- This object is modified. -----
Tells whether this INFab has been initialized, either with a constructor or with define. It must be initialized in order to access its data. //
Arguments: none
Returns: true if this INFab has been initialized, false if it
hasn't.
This:
This object is not modified.
Return the number of VoFs in this INFab.
Arguments: none
Returns: the number of VoFs in this INFab
This:
This object is not modified.
Return the number of data components of this INFab.
Arguments: none
Returns:
number of data components of this INFab.
This:
This object is not modified.
Arguments: none
Returns:
number of data components of this INFab.
This:
This object is not modified.
Return a pointer to the valid domain of this INFab.
Arguments: none
Returns: a pointer to the IrregGeom that defines the
valid domain of this INFab.
This:
This object is not modified.
Indexing operator. Return a reference to the contents of this INFab,
at the specified VoF and data component. The first component is
zero, the last is nvar-1. The returned object is a modifiable
lvalue.
Arguments:
ndin (not modified): the VoF at which data is desired
varlocin (not modified): the data component desired
Returns:
a modifiable reference to the contents of this INFab at
the desired VoF and data component
This:
-----
This object is modified if the returned object is assigned a new value
-----
Indexing operator. Return a const reference to the contents of this
INFab, at the specified VoF and data component. The first component
is zero, the last is nvar-1.
Arguments:
ndin (not modified): the VoF at which data is desired
varlocin (not modified): the data component desired
Returns:
a const reference to the contents of this INFab at
the desired VoF and data component
This:
This object is not modified.
Indexing operator. Return a reference to the contents of this INFab,
at the specified VoF. This version is only valid for an INFab with a
single data component. The returned object is a modifiable lvalue.
Arguments:
ndin (not modified): the VoF at which data is desired
Returns:
a modifiable reference to the contents of this INFab at
the desired VoF and data component
This:
-----
This object is modified if the returned object is assigned a new value
-----
Indexing operator. Return a const reference to the contents of this
INFab, at the specified VoF. This version is only valid for an INFab
with a single data component.
Arguments:
ndin (not modified): the VoF at which data is desired
Returns:
a const reference to the contents of this INFab at
the desired VoF
This:
This object is not modified.
Compound indexing operator. If the specified VoF is in the valid
domain of this INFab, return a reference to the contents of this
INFab, at the specified VoF and data component; else return a
reference to the corresponding value in the specified BaseFab. The
first data component is zero, the last is nvar-1. The returned
object is a modifiable lvalue.
Arguments:
ndin (not modified): the VoF at which data is desired
fab (modifiable): the BaseFab to reference if the specified VoF
is not in the valid domain of this INFab
varin (not modified): the data component desired
Returns:
a modifable reference to the contents of this INFab at
the specified VoF and data component, if the VoF
is in the valid domain of this INFab; else to the corresponding
value in fab
This:
-----
This object is modified if the returned object is assigned a new value
-----
Compound indexing operator. If the specified VoF is in the valid
domain of this INFab, return a const reference to the contents of this
INFab, at the specified VoF and data component; else return a const
reference to the corresponding value in the specified BaseFab. The
first data component is zero, the last is nvar-1.
Arguments:
ndin (not modified): the VoF at which data is desired
fab (not modified): the BaseFab to reference if the specified VoF
is not in the valid domain of this INFab
varin (not modified): the data component desired
Returns:
a const reference to the contents of this INFab at
the specified VoF and data component, if the VoF
is in the valid domain of this INFab; else to
the corresponding value in fab
This:
This object is not modified
Compound indexing operator. If the specified VoF is in the valid
domain of this INFab, return a reference to the contents of this
INFab, at the specified VoF; else return a reference to the
corresponding value in the specified BaseFab. This version is only
valid for an INFab with a single data component. The returned object
is a modifiable lvalue.
Arguments:
ndin (not modified): the VoF at which data is desired
fab (modifiable): the BaseFab to reference if the specified VoF
is not in the valid domain of this INFab
Returns:
a const reference to the contents of this INFab at
the specified VoF, if it
is in the valid domain of this INFab; else to the corresponding
value in fab
This:
-----
This object is modified if the returned object is assigned a new value
-----
Compound indexing operator. If the specified VoF is in the valid
domain of this INFab, return a const reference to the contents of this
INFab at the specified VoF; else return a const reference to the
corresponding value in the specified BaseFab. This version is only
valid for an INFab with a single data component.
Arguments:
ndin (not modified): the VoF at which data is desired
fab (not modified): the BaseFab to reference if the specified VoF
is not in the valid domain of this INFab
Returns:
a const reference to the contents of this INFab at
the specified VoF, if it
is in the valid domain of this INFab; else to
the corresponding value in fab
This:
This object is not modified
The following functions provide direct access to the underlying representation of INFab. They exist only so that Fortran routines which perform pointwise operations on data in a rectangular domain can be re-used for INFab data. They are not designed to be used in C++! Further, Fortran doesn't respect const, so even though the functions do not modify this INFab, they permit Fortran routines to do so.
Return a const pointer to the internal data storage of this INFab.
WARNING: this can be amazingly misused! It is intended only to
be passed as an argument to Fortran.
Arguments:
N (not modified): the data component
Returns:
pointer to the internal data storage
This:
This object is not modified.
Return a pointer to the internal data storage of this INFab.
WARNING: this can be amazingly misused! It is intended only to
be passed as an argument to Fortran.
Arguments:
N (not modified): the data component
Returns:
pointer to the internal data storage
This:
This object is not modified.
Return a fake "lower left corner of the domain" for use with Fortran.
WARNING: this can be amazingly misused! It is intended only to
be passed as an argument to Fortran.
Arguments: none
Returns:
pointer to the indices of the "lower left corner of the domain"
This:
This object is not modified.
Return a fake "upper right corner of the domain" for use with Fortran.
WARNING: this can be amazingly misused! It is intended only to
be passed as an argument to Fortran.
Arguments: none
Returns:
pointer to the indices of the "upper right corner of the domain"
This:
This object is not modified.
this page has been generated automatically by doc++