Skip to content
Snippets Groups Projects
Commit 1bd252e4 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Renamed Dimensions to Dimension in VectorField.h

parent 850819a9
No related branches found
No related tags found
No related merge requests found
...@@ -72,11 +72,11 @@ class VectorField ...@@ -72,11 +72,11 @@ class VectorField
template< int Size, template< int Size,
typename Mesh, typename Mesh,
int MeshEntityDimensions, int MeshEntityDimension,
typename Real > typename Real >
class VectorField< Size, MeshFunction< Mesh, MeshEntityDimensions, Real > > class VectorField< Size, MeshFunction< Mesh, MeshEntityDimension, Real > >
: public Functions::Domain< MeshFunction< Mesh, MeshEntityDimensions, Real >::getDomainDimension(), : public Functions::Domain< MeshFunction< Mesh, MeshEntityDimension, Real >::getDomainDimension(),
MeshFunction< Mesh, MeshEntityDimensions, Real >::getDomainType() >, MeshFunction< Mesh, MeshEntityDimension, Real >::getDomainType() >,
public Object public Object
{ {
public: public:
...@@ -84,11 +84,11 @@ class VectorField< Size, MeshFunction< Mesh, MeshEntityDimensions, Real > > ...@@ -84,11 +84,11 @@ class VectorField< Size, MeshFunction< Mesh, MeshEntityDimensions, Real > >
typedef Mesh MeshType; typedef Mesh MeshType;
typedef Real RealType; typedef Real RealType;
typedef SharedPointer< MeshType > MeshPointer; typedef SharedPointer< MeshType > MeshPointer;
typedef MeshFunction< MeshType, MeshEntityDimensions, RealType > FunctionType; typedef MeshFunction< MeshType, MeshEntityDimension, RealType > FunctionType;
typedef SharedPointer< FunctionType > FunctionPointer; typedef SharedPointer< FunctionType > FunctionPointer;
typedef typename MeshType::DeviceType DeviceType; typedef typename MeshType::DeviceType DeviceType;
typedef typename MeshType::IndexType IndexType; typedef typename MeshType::IndexType IndexType;
typedef VectorField< Size, MeshFunction< Mesh, MeshEntityDimensions, RealType > > ThisType; typedef VectorField< Size, MeshFunction< Mesh, MeshEntityDimension, RealType > > ThisType;
typedef Containers::StaticVector< Size, RealType > VectorType; typedef Containers::StaticVector< Size, RealType > VectorType;
static void configSetup( Config::ConfigDescription& config, static void configSetup( Config::ConfigDescription& config,
...@@ -260,14 +260,14 @@ class VectorField< Size, MeshFunction< Mesh, MeshEntityDimensions, Real > > ...@@ -260,14 +260,14 @@ class VectorField< Size, MeshFunction< Mesh, MeshEntityDimensions, Real > >
}; };
template< int Dimensions, template< int Dimension,
typename Function > typename Function >
std::ostream& operator << ( std::ostream& str, const VectorField< Dimensions, Function >& f ) std::ostream& operator << ( std::ostream& str, const VectorField< Dimension, Function >& f )
{ {
for( int i = 0; i < Dimensions; i++ ) for( int i = 0; i < Dimension; i++ )
{ {
str << "[ " << f[ i ] << " ]"; str << "[ " << f[ i ] << " ]";
if( i < Dimensions - 1 ) if( i < Dimension - 1 )
str << ", "; str << ", ";
} }
return str; return str;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment