|
Intrepid2
|
Factory to create a view based on the properties of input views The class is useful when the view can be of Fad type It works with both DynRankViews and Views. More...
#include <Intrepid2_Utils.hpp>
Static Public Member Functions | |
| template<class OutViewType , class CtorProp , class... Dims> | |
| static OutViewType | create_view (const ViewPack &...views, const CtorProp &prop, const Dims... dims) |
| Creates and returns a view that matches the value_type of the provided view When Sacado is enabled we use Sacado implementation. | |
Factory to create a view based on the properties of input views The class is useful when the view can be of Fad type It works with both DynRankViews and Views.
Definition at line 344 of file Intrepid2_Utils.hpp.
|
inlinestatic |
Creates and returns a view that matches the value_type of the provided view When Sacado is enabled we use Sacado implementation.
| [in] | views | - the view(s) to match |
| [in] | prop | - the properties (e.g., label) |
| [in] | dims | - dimensions to use for the view (the logical dimensions; this method handles adding the derivative dimension required for Fad types). |
Definition at line 353 of file Intrepid2_Utils.hpp.