CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Software User Forums > OpenFOAM > OpenFOAM Programming & Development

OpenFOAM coding style and indent

Register Blogs Community New Posts Updated Threads Search

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
Old   July 6, 2015, 05:21
Default OpenFOAM coding style and indent
  #1
Member
 
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 51
Rep Power: 15
tkeskita is on a distinguished road
Hi!

does anybody know which arguments to use for linux indent command to format source code according to OpenFOAM coding style? Thanks!
tkeskita is offline   Reply With Quote

Old   July 12, 2015, 13:54
Default
  #2
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 13
pbachant is on a distinguished road
According to the style guide, indentation is four spaces.
__________________
Home | Twitter | GitHub
pbachant is offline   Reply With Quote

Reply

Tags
coding style, indent


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 05:03.