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

GodunovTrace.H

Go to the documentation of this file.
00001 /* _______              __
00002   / ___/ /  ___  __ _  / /  ___
00003  / /__/ _ \/ _ \/  ' \/ _ \/ _ \
00004  \___/_//_/\___/_/_/_/_.__/\___/ 
00005 */
00006 
00007 // GodunovTrace.H
00008 
00009 //
00010 // This software is copyright (C) by the Lawrence Berkeley
00011 // National Laboratory.  Permission is granted to reproduce
00012 // this software for non-commercial purposes provided that
00013 // this notice is left intact.
00014 // 
00015 // It is acknowledged that the U.S. Government has rights to
00016 // this software under Contract DE-AC03-765F00098 between
00017 // the U.S.  Department of Energy and the University of
00018 // California.
00019 //
00020 // This software is provided as a professional and academic
00021 // contribution for joint exchange. Thus it is experimental,
00022 // is provided ``as is'', with no warranties of any kind
00023 // whatsoever, no support, no promise of updates, or printed
00024 // documentation. By using this software, you acknowledge
00025 // that the Lawrence Berkeley National Laboratory and
00026 // Regents of the University of California shall have no
00027 // liability with respect to the infringement of other
00028 // copyrights by any part of this software.
00029 //
00030 // Dan Martin, Fri, Jan 14, 2000
00031 
00032 #ifndef _GodunovTrace_H_
00033 #define _GodunovTrace_H_
00034 
00035 #include "FluxBox.H"
00036 #include "FArrayBox.H"
00037 #include "ProblemDomain.H"
00038 
00039 
00040 // Set of Functions which perform upwinded tracing 
00041 
00042 
00043 /*@ManMemo: trace state to edges in direction dir at time t + dt/2
00044   -- this version uses edge-centered advection velocities which
00045   are passed in */
00046 void TraceState(
00047                 FArrayBox& a_stateHalf, 
00049                 const FArrayBox& a_state,
00051                 const FArrayBox& a_cellVel,
00053                 const FluxBox& a_advectionVel,
00055                 const FArrayBox& a_source,
00057                 const ProblemDomain& a_dProblem,
00059                 const Box& a_gridBox,
00061                 const Real a_dt,
00063                 const Real a_dx,
00065                 const int dir,
00067                 const Interval& a_srcComps,
00069                 const Interval& a_destComps);
00070 
00071 
00072 /*@ManMemo: trace state to edges in direction dir at time t + dt/2
00073   -- this version uses edge-centered advection velocities which
00074   are passed in; deprecated interface using a Box for the domain
00075   instead of a ProblemDomain (will default to non-periodic case) */
00076 void TraceState(
00077                 FArrayBox& a_stateHalf, 
00079                 const FArrayBox& a_state,
00081                 const FArrayBox& a_cellVel,
00083                 const FluxBox& a_advectionVel,
00085                 const FArrayBox& a_source,
00087                 const Box& a_dProblem,
00089                 const Box& a_gridBox,
00091                 const Real a_dt,
00093                 const Real a_dx,
00095                 const int dir,
00097                 const Interval& a_srcComps,
00099                 const Interval& a_destComps);
00100 
00101 
00102 /*@ManMemo: trace state to edges in direction dir at time t+dt/2
00103   -- this version does not have edge-centered advection velocities
00104   passed in; uses cell-centered velocity field to approximate them */
00105 void TraceState(
00106                 FArrayBox& a_stateHalf, 
00108                 const FArrayBox& a_state,
00110                 const FArrayBox& a_cellVel,
00112                 const FArrayBox& a_source,
00114                 const ProblemDomain& a_dProblem,
00116                 const Box& a_gridBox,
00118                 const Real a_dt,
00120                 const Real a_dx,
00122                 const int dir,
00124                 const Interval& a_srcComps,
00126                 const Interval& a_destComps);
00127 
00128 
00129 /*@ManMemo: trace state to edges in direction dir at time t+dt/2
00130   -- this version does not have edge-centered advection velocities
00131   passed in; uses cell-centered velocity field to approximate them.
00132   deprecated interface using a Box for the domain
00133   instead of a ProblemDomain (will default to non-periodic case) */
00134 
00135 void TraceState(
00136                 FArrayBox& a_stateHalf, 
00138                 const FArrayBox& a_state,
00140                 const FArrayBox& a_cellVel,
00142                 const FArrayBox& a_source,
00144                 const Box& a_dProblem,
00146                 const Box& a_gridBox,
00148                 const Real a_dt,
00150                 const Real a_dx,
00152                 const int dir,
00154                 const Interval& a_srcComps,
00156                 const Interval& a_destComps);
00157                 
00158                 
00159                 
00160                 
00161                 
00162 
00163 
00164 #endif
00165 
00166 

Generated on Thu Aug 29 11:05:45 2002 for Chombo&INS by doxygen1.2.16