fvbaseelementcontext.hh
Go to the documentation of this file.
226 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 "
581 throw std::logic_error("If caching of the storage term is enabled, only the intensive quantities "
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:55 int stashedDofIdx() const Return the (local) index of the DOF for which the primary variables were stashed. Definition: fvbaseelementcontext.hh:475 std::size_t numBoundaryFaces(unsigned timeIdx) const Return the number of boundary faces which need to be considered for the flux apporixmation. Definition: fvbaseelementcontext.hh:333 bool enableStorageCache() const Returns true iff the cache for the storage term ought to be used for this context. Definition: fvbaseelementcontext.hh:528 void updateAllExtensiveQuantities() Compute the extensive quantities of all sub-control volume faces of the current element for all time ... Definition: fvbaseelementcontext.hh:233 GradientCalculator gradientCalculator_ Definition: fvbaseelementcontext.hh:593 IntensiveQuantities intensiveQuantitiesStashed_ Definition: fvbaseelementcontext.hh:590 std::size_t numDof(unsigned timeIdx) const Return the number of sub-control volumes of the current element. Definition: fvbaseelementcontext.hh:313 const IntensiveQuantities * thermodynamicHint(unsigned dofIdx, unsigned timeIdx) const Return the thermodynamic hint for a given local index. Definition: fvbaseelementcontext.hh:431 PrimaryVariables priVarsStashed_ Definition: fvbaseelementcontext.hh:591 void updateAllIntensiveQuantities() Compute the intensive quantities of all sub-control volumes of the current element for all time indic... Definition: fvbaseelementcontext.hh:181 const Stencil & stencil(unsigned) const Return the current finite element geometry. Definition: fvbaseelementcontext.hh:342 std::vector< T, aligned_allocator< T, alignof(T)> > AlignedVector Definition: fvbaseelementcontext.hh:595 FvBaseElementContext(const Simulator &simulator) The constructor. Definition: fvbaseelementcontext.hh:95 void setEnableStorageCache(bool yesno) Specifies if the cache for the storage term ought to be used for this context. Definition: fvbaseelementcontext.hh:534 void updateStencilTopology(const Element &elem) Update the topological part of the stencil, but nothing else. Definition: fvbaseelementcontext.hh:168 decltype(auto) pos(unsigned dofIdx, unsigned) const Return the position of a local entities in global coordinates. Definition: fvbaseelementcontext.hh:353 const Element & element() const Return the current element. Definition: fvbaseelementcontext.hh:307 unsigned globalSpaceIndex(unsigned dofIdx, unsigned timeIdx) const Return the global spatial index for a sub-control volume. Definition: fvbaseelementcontext.hh:364 LinearizationType linearizationType() const Returns the linearization type. Definition: fvbaseelementcontext.hh:277 void updateAll(const Element &elem) Construct all volume and extensive quantities of an element from scratch. Definition: fvbaseelementcontext.hh:117 void updatePrimaryIntensiveQuantities(unsigned timeIdx) Compute the intensive quantities of all sub-control volumes of the current element for a single time ... Definition: fvbaseelementcontext.hh:213 void updateIntensiveQuantities(unsigned timeIdx) Compute the intensive quantities of all sub-control volumes of the current element for a single time ... Definition: fvbaseelementcontext.hh:204 Scalar dofTotalVolume(unsigned dofIdx, unsigned timeIdx) const Return the total volume associated with a degree of freedom. Definition: fvbaseelementcontext.hh:389 void stashIntensiveQuantities(unsigned dofIdx) Stash the intensive quantities for a degree of freedom on internal memory. Definition: fvbaseelementcontext.hh:483 bool haveStashedIntensiveQuantities() const Returns true if no intensive quanties are stashed. Definition: fvbaseelementcontext.hh:466 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:130 const Simulator * simulatorPtr_ Definition: fvbaseelementcontext.hh:600 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:440 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 void updateIntensiveQuantities_(unsigned timeIdx, std::size_t numDof) Update the first 'n' intensive quantities objects from the primary variables. Definition: fvbaseelementcontext.hh:550 const PrimaryVariables & primaryVars(unsigned dofIdx, unsigned timeIdx) const Return the primary variables for a given local index. Definition: fvbaseelementcontext.hh:454 const GradientCalculator & gradientCalculator() const Return a reference to the gradient calculation class of the chosen spatial discretization. Definition: fvbaseelementcontext.hh:508 AlignedVector< ExtensiveQuantities > extensiveQuantities_ Definition: fvbaseelementcontext.hh:598 const Simulator & simulator() const Return a reference to the simulator. Definition: fvbaseelementcontext.hh:283 std::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:326 AlignedVector< DofStore_ > dofVars_ Definition: fvbaseelementcontext.hh:597 bool enableStorageCache_ Definition: fvbaseelementcontext.hh:607 std::size_t numPrimaryDof(unsigned timeIdx) const Return the number of primary degrees of freedom of the current element. Definition: fvbaseelementcontext.hh:319 const Problem & problem() const Return a reference to the problem. Definition: fvbaseelementcontext.hh:289 void updateExtensiveQuantities(unsigned timeIdx) Compute the extensive quantities of all sub-control volume faces of the current element for a single ... Definition: fvbaseelementcontext.hh:243 const GridView & gridView() const Return a reference to the grid view. Definition: fvbaseelementcontext.hh:301 Scalar dofVolume(unsigned dofIdx, unsigned timeIdx) const Return the element-local volume associated with a degree of freedom. Definition: fvbaseelementcontext.hh:376 const ExtensiveQuantities & extensiveQuantities(unsigned fluxIdx, unsigned) const Return a reference to the extensive quantities of a sub-control volume face. Definition: fvbaseelementcontext.hh:519 void updatePrimaryStencil(const Element &elem) Update the primary topological part of the stencil, but nothing else. Definition: fvbaseelementcontext.hh:151 void updateSingleIntQuants_(const PrimaryVariables &priVars, unsigned dofIdx, unsigned timeIdx) Definition: fvbaseelementcontext.hh:577 void setFocusDofIndex(unsigned dofIdx) Sets the degree of freedom on which the simulator is currently "focused" on. Definition: fvbaseelementcontext.hh:261 unsigned focusDofIndex() const Returns the degree of freedom on which the simulator is currently "focused" on. Definition: fvbaseelementcontext.hh:269 void restoreIntensiveQuantities(unsigned dofIdx) Restores the intensive quantities for a degree of freedom from internal memory. Definition: fvbaseelementcontext.hh:497 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:226 const Model & model() const Return a reference to the model. Definition: fvbaseelementcontext.hh:295 Definition: alignedallocator.hh:97 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:39 void * aligned_alloc(std::size_t alignment, std::size_t size) noexcept Definition: alignedallocator.hh:75 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:233 Definition: linearizationtype.hh:34 |