-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Add PK1Model and PrestressedModel * Add microstructure value abstraction * Add empty internal variable for testing purposes
- Loading branch information
1 parent
e508aaa
commit 95847ee
Showing
19 changed files
with
428 additions
and
94 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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,27 @@ | ||
# Common modeling primitives are found here | ||
|
||
# TODO actually use this :) | ||
abstract type SteadyStateInternalVariable end | ||
|
||
struct EmptyInternalVariableModel <: SteadyStateInternalVariable | ||
end | ||
|
||
struct EmptyInternalVariableCache | ||
end | ||
|
||
struct EmptyInternalVariable | ||
end | ||
|
||
setup_internal_model_cache(cv, ::EmptyInternalVariableModel) = EmptyInternalVariableCache() | ||
|
||
function state(model_cache::EmptyInternalVariableCache, geometry_cache, qp::QuadraturePoint, time) | ||
return EmptyInternalVariable() | ||
end | ||
|
||
abstract type AbstractSourceTerm end | ||
|
||
include("core/coefficients.jl") | ||
|
||
include("core/boundary_conditions.jl") | ||
|
||
abstract type AbstractSourceTerm end | ||
abstract type AbstractBilinearIntegrator end | ||
include("core/mass.jl") | ||
include("core/diffusion.jl") |
Oops, something went wrong.