Phyth v0.1.0
A dimensional safe C++ header-only mechanics and electromagnetics simulation library.
Loading...
Searching...
No Matches
Classes | Namespaces | Variables
Field.hpp File Reference
#include "Phyth/Core/Quantity.hpp"
#include "Phyth/Tools/Vector3.hpp"
#include <memory>
#include <unordered_set>
Include dependency graph for Field.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Phyth::Field< T >
 Base class for physical fields (scalar or vector) More...
 
struct  Phyth::is_field_impl< typename, typename >
 Implementation helper for is_field trait. More...
 
struct  Phyth::is_field_impl< T, std::void_t< decltype(static_cast< Field< typename T::value_type > * >(std::declval< T * >())) > >
 
struct  Phyth::is_field< T >
 Type trait to check if a type is a Field instantiation. More...
 
class  Phyth::CombineField< FieldT >
 Combine multiple fields of the same type. More...
 

Namespaces

namespace  Phyth
 

Variables

template<typename T >
constexpr bool Phyth::is_field_v = is_field<T>::value
 Convenience variable template for is_field.