One-dimensional piecewise linear slope reconstruction to get the slopes of cell average variables. More...
#include <SlopeReconstructionOneD.h>
Public Member Functions | |
SlopeReconstructionOneD (const InputParameters ¶meters) | |
virtual void | initialize () |
virtual void | finalize () |
virtual void | computeElement () |
virtual const std::vector< RealGradient > & | getElementSlope (dof_id_type elementid) const |
accessor function call to get element slope values More... | |
virtual const std::vector< Real > & | getElementAverageValue (dof_id_type elementid) const |
accessor function call to get element average variable values More... | |
virtual const std::vector< Real > & | getBoundaryAverageValue (dof_id_type elementid, unsigned int side) const |
accessor function call to get boundary average variable values More... | |
virtual const Point & | getSideCentroid (dof_id_type elementid, dof_id_type neighborid) const |
accessor function call to get cached internal side centroid More... | |
virtual const Point & | getBoundarySideCentroid (dof_id_type elementid, unsigned int side) const |
accessor function call to get cached boundary side centroid More... | |
virtual const Point & | getSideNormal (dof_id_type elementid, dof_id_type neighborid) const |
accessor function call to get cached internal side normal More... | |
virtual const Point & | getBoundarySideNormal (dof_id_type elementid, unsigned int side) const |
accessor function call to get cached boundary side centroid More... | |
virtual const Real & | getSideArea (dof_id_type elementid, dof_id_type neighborid) const |
accessor function call to get cached internal side area More... | |
virtual const Real & | getBoundarySideArea (dof_id_type elementid, unsigned int side) const |
accessor function call to get cached boundary side area More... | |
virtual void | reconstructElementSlope ()=0 |
compute the slope of the cell More... | |
virtual void | meshChanged () |
virtual void | execute () |
virtual void | pre () |
virtual void | onElement (const Elem *elem) |
virtual void | onBoundary (const Elem *elem, unsigned int side, BoundaryID bnd_id) |
virtual void | onInternalSide (const Elem *elem, unsigned int side) |
virtual void | onInterface (const Elem *elem, unsigned int side, BoundaryID bnd_id) |
virtual void | post () |
virtual void | subdomainChanged () |
virtual bool | keepGoing () |
void | join (const ElementLoopUserObject &) |
Protected Member Functions | |
virtual void | serialize (std::string &serialized_buffer) |
virtual void | deserialize (std::vector< std::string > &serialized_buffers) |
virtual void | caughtMooseException (MooseException &e) |
virtual void | computeBoundary () |
virtual void | computeInternalSide () |
virtual void | computeInterface () |
Protected Attributes | |
std::map< dof_id_type, std::vector< RealGradient > > & | _rslope |
store the reconstructed slopes into this map indexed by element ID More... | |
std::map< dof_id_type, std::vector< Real > > & | _avars |
store the average variable values into this map indexed by element ID More... | |
std::map< std::pair< dof_id_type, unsigned int >, std::vector< Real > > & | _bnd_avars |
store the boundary average variable values into this map indexed by pair of element ID and local side ID More... | |
std::map< std::pair< dof_id_type, dof_id_type >, Point > & | _side_centroid |
store the side centroid into this map indexed by pair of element ID and neighbor ID More... | |
std::map< std::pair< dof_id_type, unsigned int >, Point > & | _bnd_side_centroid |
store the boundary side centroid into this map indexed by pair of element ID and local side ID More... | |
std::map< std::pair< dof_id_type, dof_id_type >, Real > & | _side_area |
store the side area into this map indexed by pair of element ID and neighbor ID More... | |
std::map< std::pair< dof_id_type, unsigned int >, Real > & | _bnd_side_area |
store the boundary side area into this map indexed by pair of element ID and local side ID More... | |
std::map< std::pair< dof_id_type, dof_id_type >, Point > & | _side_normal |
store the side normal into this map indexed by pair of element ID and neighbor ID More... | |
std::map< std::pair< dof_id_type, unsigned int >, Point > & | _bnd_side_normal |
store the boundary side normal into this map indexed by pair of element ID and local side ID More... | |
const MooseArray< Point > & | _q_point_face |
required data for face assembly More... | |
QBase *& | _qrule_face |
const MooseArray< Real > & | _JxW_face |
const MooseArray< Point > & | _normals_face |
unsigned int & | _side |
current side of the current element More... | |
const Elem *& | _side_elem |
const Real & | _side_volume |
const Elem *& | _neighbor_elem |
the neighboring element More... | |
bool | _side_geoinfo_cached |
flag to indicated if side geometry info is cached More... | |
MooseMesh & | _mesh |
const Elem * | _current_elem |
const Real & | _current_elem_volume |
unsigned int | _current_side |
const Elem * | _current_neighbor |
const MooseArray< Point > & | _q_point |
QBase *& | _qrule |
const MooseArray< Real > & | _JxW |
const MooseArray< Real > & | _coord |
bool | _have_interface_elems |
true if we have cached interface elements, false if they need to be cached. We want to (re)cache only when mesh changed More... | |
std::set< dof_id_type > | _interface_elem_ids |
List of element IDs that are on the processor boundary and need to be send to other processors. More... | |
SubdomainID | _subdomain |
The subdomain for the current element. More... | |
SubdomainID | _old_subdomain |
The subdomain for the last element. More... | |
One-dimensional piecewise linear slope reconstruction to get the slopes of cell average variables.
Definition at line 25 of file SlopeReconstructionOneD.h.
SlopeReconstructionOneD::SlopeReconstructionOneD | ( | const InputParameters & | parameters | ) |
Definition at line 20 of file SlopeReconstructionOneD.C.
|
protectedvirtualinherited |
Definition at line 253 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::execute().
|
protectedvirtualinherited |
Definition at line 231 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::onBoundary().
|
virtualinherited |
Reimplemented from ElementLoopUserObject.
Definition at line 258 of file SlopeReconstructionBase.C.
|
protectedvirtualinherited |
Definition at line 241 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::onInterface().
|
protectedvirtualinherited |
Definition at line 236 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::onInternalSide().
|
protectedvirtualinherited |
Definition at line 283 of file SlopeReconstructionBase.C.
Referenced by SlopeReconstructionBase::finalize().
|
virtualinherited |
Definition at line 69 of file ElementLoopUserObject.C.
|
virtualinherited |
Reimplemented from ElementLoopUserObject.
Definition at line 68 of file SlopeReconstructionBase.C.
|
virtualinherited |
accessor function call to get boundary average variable values
Definition at line 132 of file SlopeReconstructionBase.C.
|
virtualinherited |
accessor function call to get cached boundary side area
Definition at line 240 of file SlopeReconstructionBase.C.
|
virtualinherited |
accessor function call to get cached boundary side centroid
Definition at line 168 of file SlopeReconstructionBase.C.
|
virtualinherited |
accessor function call to get cached boundary side centroid
Definition at line 204 of file SlopeReconstructionBase.C.
|
virtualinherited |
accessor function call to get element average variable values
Definition at line 117 of file SlopeReconstructionBase.C.
|
virtualinherited |
accessor function call to get element slope values
Definition at line 104 of file SlopeReconstructionBase.C.
|
virtualinherited |
accessor function call to get cached internal side area
Definition at line 222 of file SlopeReconstructionBase.C.
|
virtualinherited |
accessor function call to get cached internal side centroid
Definition at line 150 of file SlopeReconstructionBase.C.
|
virtualinherited |
accessor function call to get cached internal side normal
Definition at line 186 of file SlopeReconstructionBase.C.
|
virtualinherited |
Reimplemented from ElementLoopUserObject.
Definition at line 59 of file SlopeReconstructionBase.C.
|
inherited |
Definition at line 221 of file ElementLoopUserObject.C.
|
inlinevirtualinherited |
Definition at line 80 of file ElementLoopUserObject.h.
Referenced by ElementLoopUserObject::execute().
|
virtualinherited |
Reimplemented from ElementLoopUserObject.
Definition at line 90 of file SlopeReconstructionBase.C.
|
virtualinherited |
Definition at line 153 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::execute().
|
virtualinherited |
Definition at line 146 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::execute().
|
virtualinherited |
Definition at line 188 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::execute().
|
virtualinherited |
Definition at line 160 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::execute().
|
virtualinherited |
Definition at line 216 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::execute().
|
virtualinherited |
Definition at line 136 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::execute().
|
pure virtualinherited |
compute the slope of the cell
Referenced by SlopeReconstructionBase::computeElement().
|
protectedvirtualinherited |
Definition at line 264 of file SlopeReconstructionBase.C.
Referenced by SlopeReconstructionBase::finalize().
|
virtualinherited |
Definition at line 141 of file ElementLoopUserObject.C.
Referenced by ElementLoopUserObject::execute().
|
protectedinherited |
store the average variable values into this map indexed by element ID
Definition at line 77 of file SlopeReconstructionBase.h.
Referenced by SlopeReconstructionBase::getElementAverageValue(), and SlopeReconstructionBase::initialize().
|
protectedinherited |
store the boundary average variable values into this map indexed by pair of element ID and local side ID
Definition at line 80 of file SlopeReconstructionBase.h.
Referenced by SlopeReconstructionBase::getBoundaryAverageValue().
|
protectedinherited |
store the boundary side area into this map indexed by pair of element ID and local side ID
Definition at line 92 of file SlopeReconstructionBase.h.
Referenced by SlopeReconstructionBase::getBoundarySideArea(), and SlopeReconstructionBase::meshChanged().
|
protectedinherited |
store the boundary side centroid into this map indexed by pair of element ID and local side ID
Definition at line 86 of file SlopeReconstructionBase.h.
Referenced by SlopeReconstructionBase::getBoundarySideCentroid(), and SlopeReconstructionBase::meshChanged().
|
protectedinherited |
store the boundary side normal into this map indexed by pair of element ID and local side ID
Definition at line 98 of file SlopeReconstructionBase.h.
Referenced by SlopeReconstructionBase::getBoundarySideNormal(), and SlopeReconstructionBase::meshChanged().
|
protectedinherited |
Definition at line 99 of file ElementLoopUserObject.h.
|
protectedinherited |
Definition at line 91 of file ElementLoopUserObject.h.
Referenced by SlopeLimitingBase::computeElement(), AEFVSlopeLimitingOneD::limitElementSlope(), ElementLoopUserObject::onElement(), ElementLoopUserObject::onInterface(), and ElementLoopUserObject::onInternalSide().
|
protectedinherited |
Definition at line 92 of file ElementLoopUserObject.h.
|
protectedinherited |
Definition at line 94 of file ElementLoopUserObject.h.
Referenced by ElementLoopUserObject::onInterface(), and ElementLoopUserObject::onInternalSide().
|
protectedinherited |
Definition at line 93 of file ElementLoopUserObject.h.
Referenced by ElementLoopUserObject::onBoundary().
|
protectedinherited |
true if we have cached interface elements, false if they need to be cached. We want to (re)cache only when mesh changed
Definition at line 102 of file ElementLoopUserObject.h.
Referenced by ElementLoopUserObject::finalize(), ElementLoopUserObject::meshChanged(), ElementLoopUserObject::onInterface(), and ElementLoopUserObject::onInternalSide().
|
protectedinherited |
List of element IDs that are on the processor boundary and need to be send to other processors.
Definition at line 104 of file ElementLoopUserObject.h.
Referenced by ElementLoopUserObject::meshChanged(), ElementLoopUserObject::onInterface(), ElementLoopUserObject::onInternalSide(), SlopeLimitingBase::serialize(), and SlopeReconstructionBase::serialize().
|
protectedinherited |
Definition at line 98 of file ElementLoopUserObject.h.
|
protectedinherited |
Definition at line 103 of file SlopeReconstructionBase.h.
|
protectedinherited |
Definition at line 89 of file ElementLoopUserObject.h.
Referenced by ElementLoopUserObject::execute(), and SlopeReconstructionMultiD::SlopeReconstructionMultiD().
|
protectedinherited |
the neighboring element
Definition at line 113 of file SlopeReconstructionBase.h.
|
protectedinherited |
Definition at line 104 of file SlopeReconstructionBase.h.
|
protectedinherited |
The subdomain for the last element.
Definition at line 110 of file ElementLoopUserObject.h.
Referenced by ElementLoopUserObject::execute().
|
protectedinherited |
Definition at line 96 of file ElementLoopUserObject.h.
|
protectedinherited |
required data for face assembly
Definition at line 101 of file SlopeReconstructionBase.h.
|
protectedinherited |
Definition at line 97 of file ElementLoopUserObject.h.
|
protectedinherited |
Definition at line 102 of file SlopeReconstructionBase.h.
|
protectedinherited |
store the reconstructed slopes into this map indexed by element ID
Definition at line 74 of file SlopeReconstructionBase.h.
Referenced by SlopeReconstructionBase::deserialize(), SlopeReconstructionBase::getElementSlope(), SlopeReconstructionBase::initialize(), and SlopeReconstructionBase::serialize().
|
protectedinherited |
current side of the current element
Definition at line 107 of file SlopeReconstructionBase.h.
|
protectedinherited |
store the side area into this map indexed by pair of element ID and neighbor ID
Definition at line 89 of file SlopeReconstructionBase.h.
Referenced by SlopeReconstructionBase::getSideArea(), and SlopeReconstructionBase::meshChanged().
|
protectedinherited |
store the side centroid into this map indexed by pair of element ID and neighbor ID
Definition at line 83 of file SlopeReconstructionBase.h.
Referenced by SlopeReconstructionBase::getSideCentroid(), and SlopeReconstructionBase::meshChanged().
|
protectedinherited |
Definition at line 109 of file SlopeReconstructionBase.h.
|
protectedinherited |
flag to indicated if side geometry info is cached
Definition at line 116 of file SlopeReconstructionBase.h.
Referenced by SlopeReconstructionBase::finalize(), and SlopeReconstructionBase::meshChanged().
|
protectedinherited |
store the side normal into this map indexed by pair of element ID and neighbor ID
Definition at line 95 of file SlopeReconstructionBase.h.
Referenced by SlopeReconstructionBase::getSideNormal(), and SlopeReconstructionBase::meshChanged().
|
protectedinherited |
Definition at line 110 of file SlopeReconstructionBase.h.
|
protectedinherited |
The subdomain for the current element.
Definition at line 107 of file ElementLoopUserObject.h.
Referenced by ElementLoopUserObject::execute().