Alamo
Public Member Functions | Private Attributes
Test::Numeric::Stencil Class Reference
Collaboration diagram for Test::Numeric::Stencil:
[legend]

Public Member Functions

 Stencil ()
 
 ~Stencil ()
 
void Define (amrex::IntVect _ncells)
 
void Define (int _ncells)
 
template<int i, int j, int k>
bool Derivative (int verbose, std::string plotfile="")
 
void WritePlotFile (std::string plotfile)
 

Private Attributes

amrex::IntVect ncells
 
const Set::Scalar L = 1.0
 
const int ncomp = 1
 
const int nghost = 2
 
amrex::Vector< amrex::Geometry > geom
 
amrex::Vector< amrex::BoxArray > grids
 
amrex::Vector< amrex::DistributionMapping > dmap
 
Set::Field< Set::Scalarphi
 
Set::Field< Set::ScalarDphiExact
 
Set::Field< Set::ScalarDphiNumeric
 
amrex::Vector< std::string > varnames = {"phi","dphi_exact","dphi_numeric"}
 

Detailed Description

Definition at line 16 of file Stencil.H.

Constructor & Destructor Documentation

◆ Stencil()

Test::Numeric::Stencil::Stencil ( )
inline

Definition at line 20 of file Stencil.H.

◆ ~Stencil()

Test::Numeric::Stencil::~Stencil ( )
inline

Definition at line 21 of file Stencil.H.

Member Function Documentation

◆ Define() [1/2]

void Test::Numeric::Stencil::Define ( amrex::IntVect  _ncells)
inline

Definition at line 23 of file Stencil.H.

Here is the call graph for this function:

◆ Define() [2/2]

void Test::Numeric::Stencil::Define ( int  _ncells)
inline

Definition at line 53 of file Stencil.H.

Here is the call graph for this function:

◆ Derivative()

template<int i, int j, int k>
bool Test::Numeric::Stencil::Derivative ( int  verbose,
std::string  plotfile = "" 
)
inline

Definition at line 59 of file Stencil.H.

Here is the call graph for this function:

◆ WritePlotFile()

void Test::Numeric::Stencil::WritePlotFile ( std::string  plotfile)
inline

Definition at line 110 of file Stencil.H.

Field Documentation

◆ dmap

amrex::Vector<amrex::DistributionMapping> Test::Numeric::Stencil::dmap
private

Definition at line 131 of file Stencil.H.

◆ DphiExact

Set::Field<Set::Scalar> Test::Numeric::Stencil::DphiExact
private

Definition at line 134 of file Stencil.H.

◆ DphiNumeric

Set::Field<Set::Scalar> Test::Numeric::Stencil::DphiNumeric
private

Definition at line 135 of file Stencil.H.

◆ geom

amrex::Vector<amrex::Geometry> Test::Numeric::Stencil::geom
private

Definition at line 129 of file Stencil.H.

◆ grids

amrex::Vector<amrex::BoxArray> Test::Numeric::Stencil::grids
private

Definition at line 130 of file Stencil.H.

◆ L

const Set::Scalar Test::Numeric::Stencil::L = 1.0
private

Definition at line 127 of file Stencil.H.

◆ ncells

amrex::IntVect Test::Numeric::Stencil::ncells
private

Definition at line 126 of file Stencil.H.

◆ ncomp

const int Test::Numeric::Stencil::ncomp = 1
private

Definition at line 128 of file Stencil.H.

◆ nghost

const int Test::Numeric::Stencil::nghost = 2
private

Definition at line 128 of file Stencil.H.

◆ phi

Set::Field<Set::Scalar> Test::Numeric::Stencil::phi
private

Definition at line 133 of file Stencil.H.

◆ varnames

amrex::Vector<std::string> Test::Numeric::Stencil::varnames = {"phi","dphi_exact","dphi_numeric"}
private

Definition at line 136 of file Stencil.H.


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