Skip to content

Commit c6d7d33

Browse files
authored
Update README.md
1 parent b676775 commit c6d7d33

1 file changed

Lines changed: 9 additions & 8 deletions

File tree

README.md

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,14 +8,15 @@ Provide interface to "standard" history dependent mechanical (stress-strain) mat
88

99
## Main interface function
1010
```julia
11-
material_response(
12-
[stress_state::AbstractStressState] # Optional stress state (e.g. plane stress) if full 3d is not desired.
13-
m::AbstractMaterial, # Describes the specific material and its parameters
14-
ϵ::Union{SymmetricTensor{2}, Tensor{2}, Vec}, # ϵ (small strain tensor), F (deformation gradient), or u (displacement jump)
15-
old::AbstractMaterialState, # The old material state
16-
Δt, # The time step
17-
cache::AbstractMaterialCache, # A cache that can be used to reduce allocations inside material_response
18-
extras::AbstractExtraOutput) # Custom struct whose entries can be mutated to provide extra information from material_response's calculations
11+
12+
stress, stiffness, state, [full_strain] = material_response(
13+
[stress_state::AbstractStressState] # Optional stress state (e.g. plane stress) if full 3d is not desired
14+
m::AbstractMaterial, # Describes the specific material and its parameters
15+
strain::Union{SymmetricTensor{2}, Tensor{2}, Vec},# ϵ (small strain tensor), F (deformation gradient), or u (displacement jump)
16+
old::AbstractMaterialState, # The old material state
17+
Δt, # The time step
18+
cache::AbstractMaterialCache, # A cache that can be used to reduce allocations inside material_response
19+
extras::AbstractExtraOutput) # Custom struct whose entries can be mutated to provide extra information from material_response's calculations
1920
```
2021

2122
## Dependencies

0 commit comments

Comments
 (0)