fvbaseelementcontext.hh
Go to the documentation of this file.
225 void updateIntensiveQuantities(const PrimaryVariables& priVars, unsigned dofIdx, unsigned timeIdx)
415 throw std::logic_error("If caching of the storage term is enabled, only the intensive quantities "
579 throw std::logic_error("If caching of the storage term is enabled, only the intensive quantities "
593 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:52 int stashedDofIdx() const Return the (local) index of the DOF for which the primary variables were stashed. Definition: fvbaseelementcontext.hh:473 std::vector< ExtensiveQuantities, aligned_allocator< ExtensiveQuantities, alignof(ExtensiveQuantities)> > extensiveQuantities_ Definition: fvbaseelementcontext.hh:593 size_t numPrimaryDof(unsigned timeIdx) const Return the number of primary degrees of freedom of the current element. Definition: fvbaseelementcontext.hh:318 bool enableStorageCache() const Returns true iff the cache for the storage term ought to be used for this context. Definition: fvbaseelementcontext.hh:526 void updateAllExtensiveQuantities() Compute the extensive quantities of all sub-control volume faces of the current element for all time ... Definition: fvbaseelementcontext.hh:232 GradientCalculator gradientCalculator_ Definition: fvbaseelementcontext.hh:590 IntensiveQuantities intensiveQuantitiesStashed_ Definition: fvbaseelementcontext.hh:587 const IntensiveQuantities * thermodynamicHint(unsigned dofIdx, unsigned timeIdx) const Return the thermodynamic hint for a given local index. Definition: fvbaseelementcontext.hh:430 PrimaryVariables priVarsStashed_ Definition: fvbaseelementcontext.hh:588 void updateAllIntensiveQuantities() Compute the intensive quantities of all sub-control volumes of the current element for all time indic... Definition: fvbaseelementcontext.hh:182 const Stencil & stencil(unsigned) const Return the current finite element geometry. Definition: fvbaseelementcontext.hh:341 void updateIntensiveQuantities_(unsigned timeIdx, size_t numDof) Update the first 'n' intensive quantities objects from the primary variables. Definition: fvbaseelementcontext.hh:548 FvBaseElementContext(const Simulator &simulator) The constructor. Definition: fvbaseelementcontext.hh:94 void setEnableStorageCache(bool yesno) Specifies if the cache for the storage term ought to be used for this context. Definition: fvbaseelementcontext.hh:532 size_t numDof(unsigned timeIdx) const Return the number of sub-control volumes of the current element. Definition: fvbaseelementcontext.hh:312 void updateStencilTopology(const Element &elem) Update the topological part of the stencil, but nothing else. Definition: fvbaseelementcontext.hh:169 decltype(auto) pos(unsigned dofIdx, unsigned) const Return the position of a local entities in global coordinates. Definition: fvbaseelementcontext.hh:352 const Element & element() const Return the current element. Definition: fvbaseelementcontext.hh:306 unsigned globalSpaceIndex(unsigned dofIdx, unsigned timeIdx) const Return the global spatial index for a sub-control volume. Definition: fvbaseelementcontext.hh:363 LinearizationType linearizationType() const Returns the linearization type. Definition: fvbaseelementcontext.hh:276 void updateAll(const Element &elem) Construct all volume and extensive quantities of an element from scratch. Definition: fvbaseelementcontext.hh:118 void updatePrimaryIntensiveQuantities(unsigned timeIdx) Compute the intensive quantities of all sub-control volumes of the current element for a single time ... Definition: fvbaseelementcontext.hh:212 void updateIntensiveQuantities(unsigned timeIdx) Compute the intensive quantities of all sub-control volumes of the current element for a single time ... Definition: fvbaseelementcontext.hh:203 Scalar dofTotalVolume(unsigned dofIdx, unsigned timeIdx) const Return the total volume associated with a degree of freedom. Definition: fvbaseelementcontext.hh:389 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:325 void stashIntensiveQuantities(unsigned dofIdx) Stash the intensive quantities for a degree of freedom on internal memory. Definition: fvbaseelementcontext.hh:481 bool haveStashedIntensiveQuantities() const Returns true if no intensive quanties are stashed. Definition: fvbaseelementcontext.hh:464 bool onBoundary() const Returns whether the current element is on the domain's boundary. Definition: fvbaseelementcontext.hh:396 void updateStencil(const Element &elem) Compute the finite volume geometry for an element. Definition: fvbaseelementcontext.hh:131 const Simulator * simulatorPtr_ Definition: fvbaseelementcontext.hh:595 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:438 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:409 const PrimaryVariables & primaryVars(unsigned dofIdx, unsigned timeIdx) const Return the primary variables for a given local index. Definition: fvbaseelementcontext.hh:452 const GradientCalculator & gradientCalculator() const Return a reference to the gradient calculation class of the chosen spatial discretization. Definition: fvbaseelementcontext.hh:506 std::vector< DofStore_, aligned_allocator< DofStore_, alignof(DofStore_)> > dofVars_ Definition: fvbaseelementcontext.hh:592 const Simulator & simulator() const Return a reference to the simulator. Definition: fvbaseelementcontext.hh:282 bool enableStorageCache_ Definition: fvbaseelementcontext.hh:602 const Problem & problem() const Return a reference to the problem. Definition: fvbaseelementcontext.hh:288 void updateExtensiveQuantities(unsigned timeIdx) Compute the extensive quantities of all sub-control volume faces of the current element for a single ... Definition: fvbaseelementcontext.hh:242 const GridView & gridView() const Return a reference to the grid view. Definition: fvbaseelementcontext.hh:300 Scalar dofVolume(unsigned dofIdx, unsigned timeIdx) const Return the element-local volume associated with a degree of freedom. Definition: fvbaseelementcontext.hh:376 size_t numBoundaryFaces(unsigned timeIdx) const Return the number of boundary faces which need to be considered for the flux apporixmation. Definition: fvbaseelementcontext.hh:332 const ExtensiveQuantities & extensiveQuantities(unsigned fluxIdx, unsigned) const Return a reference to the extensive quantities of a sub-control volume face. Definition: fvbaseelementcontext.hh:517 void updatePrimaryStencil(const Element &elem) Update the primary topological part of the stencil, but nothing else. Definition: fvbaseelementcontext.hh:152 void updateSingleIntQuants_(const PrimaryVariables &priVars, unsigned dofIdx, unsigned timeIdx) Definition: fvbaseelementcontext.hh:575 void setFocusDofIndex(unsigned dofIdx) Sets the degree of freedom on which the simulator is currently "focused" on. Definition: fvbaseelementcontext.hh:260 unsigned focusDofIndex() const Returns the degree of freedom on which the simulator is currently "focused" on. Definition: fvbaseelementcontext.hh:268 void restoreIntensiveQuantities(unsigned dofIdx) Restores the intensive quantities for a degree of freedom from internal memory. Definition: fvbaseelementcontext.hh:495 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:225 const Model & model() const Return a reference to the model. Definition: fvbaseelementcontext.hh:294 Definition: alignedallocator.hh:114 Declare the properties used by the infrastructure code of the finite volume discretizations. 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:235 Definition: linearizationtype.hh:35 |