Skip to content
Snippets Groups Projects
Commit c08917f1 authored by andy's avatar andy
Browse files

STYLE: Code formatting

parent cf085c7f
Branches
Tags
No related merge requests found
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
========= | ========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | \\ / O peration |
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation \\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\/ M anipulation | \\/ M anipulation |
------------------------------------------------------------------------------- -------------------------------------------------------------------------------
License License
...@@ -142,62 +142,60 @@ public: ...@@ -142,62 +142,60 @@ public:
virtual void convertTimeBase(const Time& t); virtual void convertTimeBase(const Time& t);
public: // Evaluation
// Evaluation //- Return value as a function of (scalar) independent variable
virtual Type value(const scalar x) const;
//- Return value as a function of (scalar) independent variable //- Return value as a function of (scalar) independent variable
virtual Type value(const scalar x) const; virtual tmp<Field<Type> > value(const scalarField& x) const;
//- Return value as a function of (scalar) independent variable //- Integrate between two (scalar) values
virtual tmp<Field<Type> > value(const scalarField& x) const; virtual Type integrate(const scalar x1, const scalar x2) const;
//- Integrate between two (scalar) values //- Integrate between two (scalar) values
virtual Type integrate(const scalar x1, const scalar x2) const; virtual tmp<Field<Type> > integrate
(
//- Integrate between two (scalar) values const scalarField& x1,
virtual tmp<Field<Type> > integrate const scalarField& x2
( ) const;
const scalarField& x1,
const scalarField& x2
) const;
//- Return dimensioned type //- Return dimensioned type
virtual dimensioned<Type> dimValue(const scalar x) const; virtual dimensioned<Type> dimValue(const scalar x) const;
//- Return dimensioned type as a function of (scalar) //- Return dimensioned type as a function of (scalar)
virtual tmp<Field<dimensioned<Type> > > dimValue virtual tmp<Field<dimensioned<Type> > > dimValue
( (
const scalarField& x const scalarField& x
) const; ) const;
//- Integrate between two scalars and returns a dimensioned type //- Integrate between two scalars and return a dimensioned type
virtual dimensioned<Type> dimIntegrate virtual dimensioned<Type> dimIntegrate
( (
const scalar x1, const scalar x1,
const scalar x2 const scalar x2
) const; ) const;
//- Integrate between two scalars and returns list of dimensioned type //- Integrate between two scalar fields and return a field of
virtual tmp<Field<dimensioned<Type> > > dimIntegrate // dimensioned type
( virtual tmp<Field<dimensioned<Type> > > dimIntegrate
const scalarField& x1, (
const scalarField& x2 const scalarField& x1,
) const; const scalarField& x2
) const;
// I/O // I/O
//- Ostream Operator //- Ostream Operator
friend Ostream& operator<< <Type> friend Ostream& operator<< <Type>
( (
Ostream& os, Ostream& os,
const DataEntry<Type>& de const DataEntry<Type>& de
); );
//- Write in dictionary format //- Write in dictionary format
virtual void writeData(Ostream& os) const; virtual void writeData(Ostream& os) const;
}; };
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment