42 CUMAT(
const vector<double> &Constants){ m_Constants = Constants; }
44 string GetAbaqusCommands(
string Type =
"");
45 string GetThermAbaqusCommands(
string Type =
"");
46 void SetConstants(vector<double> Constants) { m_Constants = Constants; }
60 void SetupMaterials(
CTextile& Textile );
62 void AssignMaterial(
string Material,
int iYarn);
64 void AssignMaterial(
string Material,
const vector<int> &Yarns);
66 bool CompareMaterialConstants(
const vector<double> &MatConstants,
const vector<double> &ThermConstants,
const pair< vector<double>, vector<double> > &Constants );
68 void AddMaterial(
string Name,
const pair<vector<double>, vector<double> > &Constants);
70 bool CheckYarnConstants( pair< vector<double>, vector<double> > &Constants );
73 void OutputMaterials( ostream &Output,
int iNumYarns,
bool bMatrixOnly );
Abstract base class to represent a material definition.
virtual vector< double > & GetConstants()=0
virtual string GetAbaqusCommands(string Type="")=0
virtual string GetThermAbaqusCommands(string Type="")
virtual CMaterial * Copy() const =0
Object container to help handle memory management issues.
Represents a textile cell containing yarns.
map< string, pair< CObjectContainer< CMaterial >, CObjectContainer< CMaterial > > > m_Materials
map< int, string > m_MaterialAssignements
Output materials and assign to yarn element sets.
map< string, pair< CObjectContainer< CMaterial >, CObjectContainer< CMaterial > > > GetMaterials()
map< int, string > GetMaterialAssignements()
Represents a UMAT material definition.
void SetConstants(vector< double > Constants)
vector< double > & GetConstants()
vector< double > m_Constants
CUMAT(const vector< double > &Constants)
Namespace containing a series of customised math operations not found in the standard c++ library.