#include <array>
#include <cmath>
#include <utility>
#include <vector>
#include "peclet/core/amr/block_octree.hpp"
#include "peclet/core/amr/indicators.hpp"
#include "peclet/core/common/types.hpp"
Go to the source code of this file.
|
| double | peclet::core::amr::detail::minmod (double a, double b) |
| |
| template<int Dim, unsigned Bits> |
| std::vector< double > | peclet::core::amr::transferField (const BlockOctree< Dim, Bits > &oldT, const std::vector< double > &oldF, const BlockOctree< Dim, Bits > &newT, bool linear=true) |
| | Conservative remap of a leaf field from oldT to newT (same domain).
|
| |
| template<int Dim, unsigned Bits> |
| std::vector< int > | peclet::core::amr::flagByIndicator (const BlockOctree< Dim, Bits > &t, const std::vector< double > &ind, double refineThresh, double coarsenThresh, unsigned finestLevel=0) |
| |
| template<int Dim, unsigned Bits> |
| AdaptResult< Dim, Bits > | peclet::core::amr::adaptField (const BlockOctree< Dim, Bits > &t, const std::vector< double > &f, const std::vector< int > &flags, bool linear=true) |
| | Apply adaptation flags (one level of refine/coarsen) to t carrying field f, then 2:1-balance and remap.
|
| |
| template<int Dim, unsigned Bits> |
| AdaptResult< Dim, Bits > | peclet::core::amr::adapt (const BlockOctree< Dim, Bits > &t, const std::vector< double > &f, double refineThresh, double coarsenThresh, unsigned finestLevel=0, double eps=0.01, bool linear=true) |
| | All-in-one solution-adaptive step: Löhner indicator → flags → adaptField.
|
| |