mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: remove tabs from files and shorten line-length.
This commit is contained in:
@ -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.
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@ -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
|
||||||
|
|||||||
@ -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)
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user