-
Notifications
You must be signed in to change notification settings - Fork 10
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Changed: Extended the Material::evaluate interface to take a
FiniteElement reference as argument (replacing integration point counter). Added: Option to define the Young's modulus via a scalar field. git-svn-id: http://svn.sintef.no/trondheim/IFEM/trunk@2264 e10b68d5-8a6e-419e-a041-bce267b0401d
- Loading branch information
Showing
7 changed files
with
110 additions
and
31 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
// $Id$ | ||
//============================================================================== | ||
//! | ||
//! \file MaterialBase.C | ||
//! | ||
//! \date Mar 01 2011 | ||
//! | ||
//! \author Knut Morten Okstad / SINTEF | ||
//! | ||
//! \brief Base class for material models. | ||
//! | ||
//============================================================================== | ||
|
||
#include "MaterialBase.h" | ||
#include "FiniteElement.h" | ||
|
||
|
||
bool Material::evaluate (Matrix& C, SymmTensor& sigma, double& U, | ||
size_t ip, const Vec3& X, const Tensor& F, | ||
const SymmTensor& eps, char iop, | ||
const TimeDomain* prm, const Tensor* Fpf) const | ||
{ | ||
FiniteElement fe(0,ip); | ||
return this->evaluate(C,sigma,U,fe,X,F,eps,iop,prm,Fpf); | ||
} |
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