A list of DeriveRecs. More...
#include <AMReX_Derive.H>
Public Member Functions | |
| DeriveList ()=default | |
| The default constructor. | |
| ~DeriveList ()=default | |
| DeriveList (const DeriveList &)=delete | |
| DeriveList (DeriveList &&)=delete | |
| DeriveList & | operator= (const DeriveList &)=delete |
| DeriveList & | operator= (DeriveList &&)=delete |
| bool | canDerive (const std::string &name) const |
| Determines whether quantity identified by <name> is in the registry. | |
| const DeriveRec * | get (const std::string &name) const |
| Access the particular record in registry. | |
| void | add (const std::string &name, IndexType result_type, int nvar_derive, DeriveFunc der_func, const DeriveRec::DeriveBoxMap &bx_map, Interpolater *interp=&pc_interp) |
| Adds another entry to the registry. | |
| void | add (const std::string &name, IndexType result_type, int nvar_derive, DeriveFunc3D der_func_3d, const DeriveRec::DeriveBoxMap &bx_map, Interpolater *interp=&pc_interp) |
| void | add (const std::string &name, IndexType result_type, int nvar_derive, const DeriveFuncFab &der_func_fab, const DeriveRec::DeriveBoxMap &bx_map, Interpolater *interp=&pc_interp) |
| void | add (const std::string &name, IndexType result_type, int nvar_derive, const DeriveFuncMF &der_func_mf, const DeriveRec::DeriveBoxMap &bx_map, Interpolater *interp=&pc_interp) |
| void | add (const std::string &name, IndexType result_type, int nvar_derive, const DeriveRec::DeriveBoxMap &box_map=&DeriveRec::TheSameBox) |
| This version doesn't take a Fortran function. | |
| void | add (const std::string &name, IndexType res_typ, int nvar_derive, Vector< std::string > const &vars, DeriveFunc der_func, const DeriveRec::DeriveBoxMap &bx_map, Interpolater *interp=&pc_interp) |
| Adds another entry to the registry. | |
| void | add (const std::string &name, IndexType res_typ, int nvar_derive, Vector< std::string > const &vars, DeriveFunc3D der_func_3d, const DeriveRec::DeriveBoxMap &bx_map, Interpolater *interp=&pc_interp) |
| void | add (const std::string &name, IndexType res_typ, int nvar_derive, Vector< std::string > const &vars, const DeriveFuncFab &der_func_fab, const DeriveRec::DeriveBoxMap &bx_map, Interpolater *interp=&pc_interp) |
| void | add (const std::string &name, IndexType res_typ, int nvar_derive, Vector< std::string > const &vars, const DeriveFuncMF &der_func_mf, const DeriveRec::DeriveBoxMap &bx_map, Interpolater *interp=&pc_interp) |
| void | addComponent (const std::string &name, const DescriptorList &d_list, int state_indx, int s_comp, int n_comp) |
| Adds another StateRange to the DeriveRec identified by <name>. | |
| std::list< DeriveRec > & | dlist () |
| void | clear () |
Private Attributes | |
| std::list< DeriveRec > | lst |
A list of DeriveRecs.
DeriveList manages and provides access to the list of DeriveRecs.
|
default |
The default constructor.
|
default |
|
delete |
|
delete |
| void amrex::DeriveList::add | ( | const std::string & | name, |
| IndexType | res_typ, | ||
| int | nvar_derive, | ||
| Vector< std::string > const & | vars, | ||
| const DeriveFuncFab & | der_func_fab, | ||
| const DeriveRec::DeriveBoxMap & | bx_map, | ||
| Interpolater * | interp = &pc_interp |
||
| ) |
| void amrex::DeriveList::add | ( | const std::string & | name, |
| IndexType | res_typ, | ||
| int | nvar_derive, | ||
| Vector< std::string > const & | vars, | ||
| const DeriveFuncMF & | der_func_mf, | ||
| const DeriveRec::DeriveBoxMap & | bx_map, | ||
| Interpolater * | interp = &pc_interp |
||
| ) |
| void amrex::DeriveList::add | ( | const std::string & | name, |
| IndexType | res_typ, | ||
| int | nvar_derive, | ||
| Vector< std::string > const & | vars, | ||
| DeriveFunc | der_func, | ||
| const DeriveRec::DeriveBoxMap & | bx_map, | ||
| Interpolater * | interp = &pc_interp |
||
| ) |
Adds another entry to the registry.
| name | |
| res_typ | |
| nvar_derive | |
| vars | |
| der_func | |
| bx_map | |
| interp |
| void amrex::DeriveList::add | ( | const std::string & | name, |
| IndexType | res_typ, | ||
| int | nvar_derive, | ||
| Vector< std::string > const & | vars, | ||
| DeriveFunc3D | der_func_3d, | ||
| const DeriveRec::DeriveBoxMap & | bx_map, | ||
| Interpolater * | interp = &pc_interp |
||
| ) |
| void amrex::DeriveList::add | ( | const std::string & | name, |
| IndexType | result_type, | ||
| int | nvar_derive, | ||
| const DeriveFuncFab & | der_func_fab, | ||
| const DeriveRec::DeriveBoxMap & | bx_map, | ||
| Interpolater * | interp = &pc_interp |
||
| ) |
| void amrex::DeriveList::add | ( | const std::string & | name, |
| IndexType | result_type, | ||
| int | nvar_derive, | ||
| const DeriveFuncMF & | der_func_mf, | ||
| const DeriveRec::DeriveBoxMap & | bx_map, | ||
| Interpolater * | interp = &pc_interp |
||
| ) |
| void amrex::DeriveList::add | ( | const std::string & | name, |
| IndexType | result_type, | ||
| int | nvar_derive, | ||
| const DeriveRec::DeriveBoxMap & | box_map = &DeriveRec::TheSameBox |
||
| ) |
This version doesn't take a Fortran function.
| name | |
| result_type | |
| nvar_derive | |
| box_map |
| void amrex::DeriveList::add | ( | const std::string & | name, |
| IndexType | result_type, | ||
| int | nvar_derive, | ||
| DeriveFunc | der_func, | ||
| const DeriveRec::DeriveBoxMap & | bx_map, | ||
| Interpolater * | interp = &pc_interp |
||
| ) |
Adds another entry to the registry.
| name | |
| result_type | |
| nvar_derive | |
| der_func | |
| bx_map | |
| interp |
| void amrex::DeriveList::add | ( | const std::string & | name, |
| IndexType | result_type, | ||
| int | nvar_derive, | ||
| DeriveFunc3D | der_func_3d, | ||
| const DeriveRec::DeriveBoxMap & | bx_map, | ||
| Interpolater * | interp = &pc_interp |
||
| ) |
| void amrex::DeriveList::addComponent | ( | const std::string & | name, |
| const DescriptorList & | d_list, | ||
| int | state_indx, | ||
| int | s_comp, | ||
| int | n_comp | ||
| ) |
Adds another StateRange to the DeriveRec identified by <name>.
| name | |
| d_list | |
| state_indx | |
| s_comp | |
| n_comp |
| bool amrex::DeriveList::canDerive | ( | const std::string & | name | ) | const |
Determines whether quantity identified by <name> is in the registry.
| name |
|
inline |
| std::list< DeriveRec > & amrex::DeriveList::dlist | ( | ) |
| const DeriveRec * amrex::DeriveList::get | ( | const std::string & | name | ) | const |
Access the particular record in registry.
| name |
|
delete |
|
delete |
|
private |