STYLE: remove tabs from files and shorten line-length.

This commit is contained in:
Mark Olesen
2017-04-10 16:11:33 +02:00
parent b257e80d9a
commit 140c5110fe
11 changed files with 162 additions and 163 deletions

View File

@ -1,12 +1,9 @@
Polygon Reduction Demo
Polygon Reduction Demo By Stan Melax (c) 1998
By Stan Melax (c) 1998 mailto:melax@cs.ualberta.ca
mailto:melax@cs.ualberta.ca http://www.cs.ualberta.ca/~melax
http://www.cs.ualberta.ca/~melax
The PC executable bunnylod.exe should run The PC executable bunnylod.exe should run
on a standard PC. on a standard PC.
Just run it and enjoy. Just run it and enjoy.
Mouse dragging spins the rabbit. Mouse dragging spins the rabbit.

View File

@ -114,7 +114,7 @@ protected:
template<class ObjectType> template<class ObjectType>
ObjectType* lookupObjectRefPtr(const word& fieldName) const; ObjectType* lookupObjectRefPtr(const word& fieldName) const;
//- Store the given field in the (sub) objectRegistry under the given name //- Store the field in the (sub) objectRegistry under the given name
// Note: sets the fieldName to tfield().name() if not already set // Note: sets the fieldName to tfield().name() if not already set
template<class ObjectType> template<class ObjectType>
bool store bool store

View File

@ -672,11 +672,13 @@ Foam::scalar Foam::waveModels::StokesV::eta
const scalar theta = kx*x + ky*y - 2.0*mathematical::pi/T*t + phase; const scalar theta = kx*x + ky*y - 2.0*mathematical::pi/T*t + phase;
return return
(
amp1*cos(theta) amp1*cos(theta)
+ amp2*cos(2*theta) + amp2*cos(2*theta)
+ amp3*cos(3*theta) + amp3*cos(3*theta)
+ amp4*cos(4*theta) + amp4*cos(4*theta)
+ amp5*cos(5*theta); + amp5*cos(5*theta)
);
} }