METHOD
IMEX3Arguments Class Reference

#include <IMEX3Args.h>

Inheritance diagram for IMEX3Arguments:
Collaboration diagram for IMEX3Arguments:

Public Member Functions

 IMEX3Arguments ()
 
 IMEX3Arguments (Data *data)
 
 IMEX3Arguments (IMEX3Arguments &args)
 
virtual ~IMEX3Arguments ()
 
IMEX3Argumentsoperator= (const IMEX3Arguments &args)
 
- Public Member Functions inherited from IMEX2Arguments
 IMEX2Arguments ()
 
 IMEX2Arguments (Data *data)
 
 IMEX2Arguments (IMEX2Arguments &args)
 
virtual ~IMEX2Arguments ()
 
IMEX2Argumentsoperator= (const IMEX2Arguments &args)
 

Public Attributes

double hmgam
 
- Public Attributes inherited from IMEX2Arguments
Datadata
 
double gam
 
double om2gam
 
double dt
 
int allocd
 
int i
 
int j
 
int k
 
double * cons
 
double * prims
 
double * aux
 
double * source
 
double * source1
 
double * flux1
 
double * source2
 
double * flux2
 

Detailed Description

IMEX-SSP3(332) Arguments class

Implicit-Explicit rootfinder requires additional work arrays for the residual functions. These work arrays are located within this classes member data along with necessary constants for each stage.
This class derives from the IMEX2Arguments class.

Definition at line 16 of file IMEX3Args.h.

Constructor & Destructor Documentation

◆ IMEX3Arguments() [1/3]

IMEX3Arguments::IMEX3Arguments ( )
inline

Parameterized constructor.

Calls the IMEX2Arguments constructor to store pointer to Data and sets the simulation constants

See also
IMEX2Arguments::IMEX2Arguments

Definition at line 28 of file IMEX3Args.h.

◆ IMEX3Arguments() [2/3]

IMEX3Arguments::IMEX3Arguments ( Data data)

Deep copy constructor.

Allocates arrays for the interstage work arrays and stores pointer to Data class for this simulation. Once memory has been allocated to work arrays the member allocd is set to true (1).

Parameters
[in]*datapointer to the Data class
See also
IMEX2Arguments::IMEX2Arguments

◆ IMEX3Arguments() [3/3]

IMEX3Arguments::IMEX3Arguments ( IMEX3Arguments args)

Destructor.

Performs a deep copy of all data in the pointed to IMEX3Arguments class to this instance. If this instance has allocd set as false, the arrays will be allocated and allocd set to true. Copy constructor is required for the overload assignment operator.

Parameters
&argspointer to IMEX3Arguments class that needs to be copied

◆ ~IMEX3Arguments()

virtual IMEX3Arguments::~IMEX3Arguments ( )
virtual

Overload assignment operator.

Frees allocated memory.

Member Function Documentation

◆ operator=()

IMEX3Arguments& IMEX3Arguments::operator= ( const IMEX3Arguments args)

Performs deep copy of the pointed to IMEX3Arguments class on assignment.

Parameters
&argsaddress of IMEX3Arguments class that is to be copied

Member Data Documentation

◆ hmgam

double IMEX3Arguments::hmgam

(h)alf (m)inus (gam)ma = 0.5-gamma

Default constructor

Definition at line 19 of file IMEX3Args.h.


The documentation for this class was generated from the following file: