Examples of boundaries conditions can be found in the the [src/boundariesConditions.cpp](https://gitlab.oca.eu/DISC/fargOCA/blob/master/src/boundariesConditions.cpp).
Examples of boundaries conditions can be found in the the [src/boundariesConditionsHandlers.cpp](https://gitlab.oca.eu/DISC/fargOCA/blob/master/src/boundariesConditionsHandlers.cpp).
Adding a new boundary condition is a 2 step process, you need to:
Adding a new boundary condition is a 2 step process, you need to:
1. Implement the new boundary condition code.
1. Implement the new boundary condition code.
...
@@ -52,7 +52,7 @@ You can have a look to the already implemented conditions in [src/boundariesCond
...
@@ -52,7 +52,7 @@ You can have a look to the already implemented conditions in [src/boundariesCond
Let say you want to make your new condition available under the name "someGreatBC":
Let say you want to make your new condition available under the name "someGreatBC":
In a carefully chosen source file ([src/D3/boundariesConditions.cpp](https://gitlab.oca.eu/DISC/fargOCA/blob/master/src/boundariesConditions.cpp) for example):
In a carefully chosen source file ([src/boundariesConditionsHandlers.cpp](https://gitlab.oca.eu/DISC/fargOCA/blob/master/src/boundariesConditionsHandlers.cpp) for example):