-
Notifications
You must be signed in to change notification settings - Fork 43
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #700 from thelfer/679-mfront-create-an-mfront-inte…
…rface-for-behaviours-and-models 679 mfront create an mfront interface for behaviours and models
- Loading branch information
Showing
180 changed files
with
6,001 additions
and
2,691 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
The `@BehaviourVariableFactory` keyword allows to define an object able | ||
to create a behaviour variable. | ||
|
||
## Example of usage | ||
|
||
~~~~{cxx} | ||
@BehaviourVariableFactory f1 { | ||
file: "BehaviourVariablePlasticity.mfront", | ||
variables_suffix: "1", | ||
external_names_prefix: "FirstPhase", | ||
store_gradients: true, | ||
store_thermodynamic_forces: true, | ||
shared_external_state_variables: {".+"} | ||
}; | ||
@Integrator{ | ||
auto b1 = f1.make(); | ||
... | ||
} | ||
~~~~ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.