Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

BoxLayoutData.H File Reference

#include "LayoutData.H"
#include "Interval.H"
#include "FArrayBox.H"

Include dependency graph for BoxLayoutData.H:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Compounds

class  BoxLayoutData
 Data on a BoxLayout. More...

class  DataFactory
 Factory object to data members of a BoxLayoutData container. More...

class  DefaultDataFactory
 Factory object to data members of a BoxLayoutData container. More...


Functions

Real norm (const BoxLayoutData< FArrayBox > &A, const Interval &interval, const int &p=2)


Function Documentation

Real norm const BoxLayoutData< FArrayBox > &    A,
const Interval   interval,
const int &    p = 2
 

not actually L-p norms, since it doesn't take into account the dx of the system. A user can take that into account or not.

returns: (sum[ | A[i][j,interval] |^p )^(1/p) p>=2, for all i in A, for valid regions j in A[i]

global max( A[i][j, interval] ) p==0

to turn into an L-p norm, one needs to multiply by dx^(SpaceDim/p)

some people don't like that this norm is not normalized based on number of points in A. Normalization is your problem.


Generated on Tue Jul 2 10:42:41 2002 for Chombo by doxygen1.2.16