Skip to content
Snippets Groups Projects

Auto-formatting the code

Merged Boman Romain requested to merge adrien into master

Created by: acrovato

Context

The idea is to clean the code:

  • use auto-formatting
  • use 4-spaces indentation (reference #1)
  • use UTF-8 encoding

Important notice

  • only the sources (*.ccp and *.h) have been cleaned
  • only non Trilinos module have been cleaned

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
17 18 createElements();
18 19 }
19 20 Kutta::Kutta(std::shared_ptr<MshData> _msh, std::vector<std::string> const &names)
  • Boman Romain
    Boman Romain @rboman started a thread on commit 95dc25c2
  • 163 if (sN == vN) {
    172 int i = 0;
    173 for (auto sE : surE)
    174 {
    175 for (auto vE : tags[3]->elems)
    176 {
    177 size_t cnt = 0;
    178 for (auto sN : sE->nodes)
    179 {
    180 for (auto vN : vE->nodes)
    181 {
    182 if (sN == vN)
    183 {
    164 184 cnt++;
    165 break;
    185 break;
  • I agree let's do this as quick as possible

  • Boman Romain
    Boman Romain @rboman started a thread on commit 95dc25c2
  • 17 18 createElements();
    18 19 }
    19 20 Kutta::Kutta(std::shared_ptr<MshData> _msh, std::vector<std::string> const &names)
    • Created by: acrovato

      Nope. I tried again to make sure. I do not fully understand the underlying logic of alignement under constructor definition. We will have to pay attention to that ;)

  • Boman Romain
    Boman Romain @rboman started a thread on commit 95dc25c2
  • 17 18 createElements();
    18 19 }
    19 20 Kutta::Kutta(std::shared_ptr<MshData> _msh, std::vector<std::string> const &names)
  • Created by: acrovato

    Sorry for the delay.

    No problem ;)

  • Please register or sign in to reply
    Loading