fvbaseelementcontext.hh
Go to the documentation of this file.
223 void updateIntensiveQuantities(const PrimaryVariables& priVars, unsigned dofIdx, unsigned timeIdx)
413 throw std::logic_error("If caching of the storage term is enabled, only the intensive quantities "
577 throw std::logic_error("If caching of the storage term is enabled, only the intensive quantities "
591 std::vector<ExtensiveQuantities, aligned_allocator<ExtensiveQuantities, alignof(ExtensiveQuantities)> > extensiveQuantities_;
This is a stand-alone version of boost::alignment::aligned_allocator from Boost 1.... This class stores an array of IntensiveQuantities objects, one intensive quantities object for each o... Definition: fvbaseelementcontext.hh:50 int stashedDofIdx() const Return the (local) index of the DOF for which the primary variables were stashed. Definition: fvbaseelementcontext.hh:471 std::vector< ExtensiveQuantities, aligned_allocator< ExtensiveQuantities, alignof(ExtensiveQuantities)> > extensiveQuantities_ Definition: fvbaseelementcontext.hh:591 size_t numPrimaryDof(unsigned timeIdx) const Return the number of primary degrees of freedom of the current element. Definition: fvbaseelementcontext.hh:316 bool enableStorageCache() const Returns true iff the cache for the storage term ought to be used for this context. Definition: fvbaseelementcontext.hh:524 void updateAllExtensiveQuantities() Compute the extensive quantities of all sub-control volume faces of the current element for all time ... Definition: fvbaseelementcontext.hh:230 GradientCalculator gradientCalculator_ Definition: fvbaseelementcontext.hh:588 IntensiveQuantities intensiveQuantitiesStashed_ Definition: fvbaseelementcontext.hh:585 const IntensiveQuantities * thermodynamicHint(unsigned dofIdx, unsigned timeIdx) const Return the thermodynamic hint for a given local index. Definition: fvbaseelementcontext.hh:428 PrimaryVariables priVarsStashed_ Definition: fvbaseelementcontext.hh:586 void updateAllIntensiveQuantities() Compute the intensive quantities of all sub-control volumes of the current element for all time indic... Definition: fvbaseelementcontext.hh:180 const Stencil & stencil(unsigned) const Return the current finite element geometry. Definition: fvbaseelementcontext.hh:339 void updateIntensiveQuantities_(unsigned timeIdx, size_t numDof) Update the first 'n' intensive quantities objects from the primary variables. Definition: fvbaseelementcontext.hh:546 FvBaseElementContext(const Simulator &simulator) The constructor. Definition: fvbaseelementcontext.hh:92 void setEnableStorageCache(bool yesno) Specifies if the cache for the storage term ought to be used for this context. Definition: fvbaseelementcontext.hh:530 size_t numDof(unsigned timeIdx) const Return the number of sub-control volumes of the current element. Definition: fvbaseelementcontext.hh:310 void updateStencilTopology(const Element &elem) Update the topological part of the stencil, but nothing else. Definition: fvbaseelementcontext.hh:167 decltype(auto) pos(unsigned dofIdx, unsigned) const Return the position of a local entities in global coordinates. Definition: fvbaseelementcontext.hh:350 const Element & element() const Return the current element. Definition: fvbaseelementcontext.hh:304 unsigned globalSpaceIndex(unsigned dofIdx, unsigned timeIdx) const Return the global spatial index for a sub-control volume. Definition: fvbaseelementcontext.hh:361 LinearizationType linearizationType() const Returns the linearization type. Definition: fvbaseelementcontext.hh:274 void updateAll(const Element &elem) Construct all volume and extensive quantities of an element from scratch. Definition: fvbaseelementcontext.hh:116 void updatePrimaryIntensiveQuantities(unsigned timeIdx) Compute the intensive quantities of all sub-control volumes of the current element for a single time ... Definition: fvbaseelementcontext.hh:210 void updateIntensiveQuantities(unsigned timeIdx) Compute the intensive quantities of all sub-control volumes of the current element for a single time ... Definition: fvbaseelementcontext.hh:201 Scalar dofTotalVolume(unsigned dofIdx, unsigned timeIdx) const Return the total volume associated with a degree of freedom. Definition: fvbaseelementcontext.hh:387 size_t numInteriorFaces(unsigned timeIdx) const Return the number of non-boundary faces which need to be considered for the flux apporixmation. Definition: fvbaseelementcontext.hh:323 void stashIntensiveQuantities(unsigned dofIdx) Stash the intensive quantities for a degree of freedom on internal memory. Definition: fvbaseelementcontext.hh:479 bool haveStashedIntensiveQuantities() const Returns true if no intensive quanties are stashed. Definition: fvbaseelementcontext.hh:462 bool onBoundary() const Returns whether the current element is on the domain's boundary. Definition: fvbaseelementcontext.hh:394 void updateStencil(const Element &elem) Compute the finite volume geometry for an element. Definition: fvbaseelementcontext.hh:129 const Simulator * simulatorPtr_ Definition: fvbaseelementcontext.hh:593 IntensiveQuantities & intensiveQuantities(unsigned dofIdx, unsigned timeIdx) Return a reference to the intensive quantities of a sub-control volume at a given time. Definition: fvbaseelementcontext.hh:436 const IntensiveQuantities & intensiveQuantities(unsigned dofIdx, unsigned timeIdx) const Return a reference to the intensive quantities of a sub-control volume at a given time. Definition: fvbaseelementcontext.hh:407 const PrimaryVariables & primaryVars(unsigned dofIdx, unsigned timeIdx) const Return the primary variables for a given local index. Definition: fvbaseelementcontext.hh:450 const GradientCalculator & gradientCalculator() const Return a reference to the gradient calculation class of the chosen spatial discretization. Definition: fvbaseelementcontext.hh:504 std::vector< DofStore_, aligned_allocator< DofStore_, alignof(DofStore_)> > dofVars_ Definition: fvbaseelementcontext.hh:590 const Simulator & simulator() const Return a reference to the simulator. Definition: fvbaseelementcontext.hh:280 bool enableStorageCache_ Definition: fvbaseelementcontext.hh:600 const Problem & problem() const Return a reference to the problem. Definition: fvbaseelementcontext.hh:286 void updateExtensiveQuantities(unsigned timeIdx) Compute the extensive quantities of all sub-control volume faces of the current element for a single ... Definition: fvbaseelementcontext.hh:240 const GridView & gridView() const Return a reference to the grid view. Definition: fvbaseelementcontext.hh:298 Scalar dofVolume(unsigned dofIdx, unsigned timeIdx) const Return the element-local volume associated with a degree of freedom. Definition: fvbaseelementcontext.hh:374 size_t numBoundaryFaces(unsigned timeIdx) const Return the number of boundary faces which need to be considered for the flux apporixmation. Definition: fvbaseelementcontext.hh:330 const ExtensiveQuantities & extensiveQuantities(unsigned fluxIdx, unsigned) const Return a reference to the extensive quantities of a sub-control volume face. Definition: fvbaseelementcontext.hh:515 void updatePrimaryStencil(const Element &elem) Update the primary topological part of the stencil, but nothing else. Definition: fvbaseelementcontext.hh:150 void updateSingleIntQuants_(const PrimaryVariables &priVars, unsigned dofIdx, unsigned timeIdx) Definition: fvbaseelementcontext.hh:573 void setFocusDofIndex(unsigned dofIdx) Sets the degree of freedom on which the simulator is currently "focused" on. Definition: fvbaseelementcontext.hh:258 unsigned focusDofIndex() const Returns the degree of freedom on which the simulator is currently "focused" on. Definition: fvbaseelementcontext.hh:266 void restoreIntensiveQuantities(unsigned dofIdx) Restores the intensive quantities for a degree of freedom from internal memory. Definition: fvbaseelementcontext.hh:493 void updateIntensiveQuantities(const PrimaryVariables &priVars, unsigned dofIdx, unsigned timeIdx) Compute the intensive quantities of a single sub-control volume of the current element for a single t... Definition: fvbaseelementcontext.hh:223 const Model & model() const Return a reference to the model. Definition: fvbaseelementcontext.hh:292 Definition: alignedallocator.hh:114 Declare the properties used by the infrastructure code of the finite volume discretizations. Definition: blackoilboundaryratevector.hh:37 void * aligned_alloc(std::size_t alignment, std::size_t size) noexcept Definition: alignedallocator.hh:92 typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(.... Definition: propertysystem.hh:242 Definition: linearizationtype.hh:35 |