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, 06:21
Default OpenFOAM coding style and indent
  #1
Member
 
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 57
Rep Power: 16
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, 14:54
Default
  #2
Senior Member
 
Pete Bachant
Join Date: Jun 2012
Location: Boston, MA
Posts: 173
Rep Power: 14
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 21:24.