|
SpECTRE
v2025.08.19
|
Implementations of set_number_of_grid_points. More...
Classes | |
| struct | SetNumberOfGridPointsImpl |
| Default implementation is not defined. More... | |
| struct | SetNumberOfGridPointsImpl< blaze::DynamicVector< T, TF, Tag > > |
| struct | SetNumberOfGridPointsImpl< blaze::StaticVector< T, N, TF, AF, PF, Tag > > |
| struct | SetNumberOfGridPointsImpl< double > |
| struct | SetNumberOfGridPointsImpl< SpinWeighted< SpinWeightedType, Spin > > |
| struct | SetNumberOfGridPointsImpl< std::array< T, N > > |
| struct | SetNumberOfGridPointsImpl< std::complex< double > > |
| struct | SetNumberOfGridPointsImpl< std::vector< T > > |
| struct | SetNumberOfGridPointsImpl< Tensor< T, Structure... > > |
| struct | SetNumberOfGridPointsImpl< tuples::TaggedTuple< Tags... > > |
| struct | SetNumberOfGridPointsImpl< Variables< TagList > > |
Implementations of set_number_of_grid_points.
Specializations may be trivial, meaning the object is similar to a double and doesn't actually represent grid data. The only requirement for trivial specializations is defining is_trivial as true.
Non-trivial specializations must define is_trivial to false, and must define a static apply function with the signature shown in the below example. Non-trivial specializations must also be accompanied by a specialization of the MakeWithValueImpls::NumberOfPoints struct. The apply function will only be called if the current size is incorrect, so implementations should not check the current size.