|
[Sponsors] |
![]() |
![]() |
#1 |
Member
Tuomo Keskitalo
Join Date: Oct 2010
Posts: 60
Rep Power: 16 ![]() |
Hi,
is there some automatic code formatting tool which could be used to reformat the C++ source code files according to the OpenFOAM coding standards? I wonder if one of the basic ClangFormat styles might already be close to the OF style, to be used as a basis? https://clang.llvm.org/docs/ClangFor...l#basedonstyle BR, Tuomo |
|
![]() |
![]() |
![]() |
![]() |
#2 | |
Member
Amirhossein Taran
Join Date: Sep 2016
Location: Dublin, Ireland
Posts: 65
Rep Power: 10 ![]() |
Quote:
I am only aware of this, which is applicable to both foundation and ESI versions. https://openfoam.org/dev/coding-style-guide/ Regards, |
||
![]() |
![]() |
![]() |
Tags |
automatic, code, formatting |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Original OpenFOAM author(s)? | roenby | OpenFOAM | 21 | July 14, 2021 12:08 |
No different caculation speed between serial and openMP code? | AnhDL | Main CFD Forum | 4 | May 16, 2020 04:17 |
State of the art in CFD technology | Juan Carlos GARCIA SALAS | Main CFD Forum | 39 | November 1, 1999 14:34 |
public CFD Code development | Heinz Wilkening | Main CFD Forum | 38 | March 5, 1999 11:44 |
What kind of Cmmercial CFD code you feel well? | Lans | Main CFD Forum | 13 | October 27, 1998 10:20 |