Ice Sheet System Model  4.18
Code documentation
Public Member Functions
Materials Class Reference

Declaration of Materials class. More...

#include <Materials.h>

Inheritance diagram for Materials:
DataSet

Public Member Functions

 Materials ()
 
 ~Materials ()
 
void Configure (Elements *elements, Loads *loads, Nodes *nodes, Vertices *vertices, Materials *materials, Parameters *parameters)
 
void ResetHooks ()
 
- Public Member Functions inherited from DataSet
 DataSet ()
 
 DataSet (int enum_type)
 
 ~DataSet ()
 
void Marshall (char **pmarshalled_data, int *pmarshalled_data_size, int marshall_direction)
 
int GetEnum ()
 
int GetEnum (int offset)
 
void Echo ()
 
void DeepEcho ()
 
int AddObject (Object *object)
 
int DeleteObject (int id)
 
int Size ()
 
void clear ()
 
ObjectGetObjectByOffset (int offset)
 
ObjectGetObjectById (int *poffset, int eid)
 
void Presort ()
 
void Sort ()
 
DataSetCopy (void)
 
int DeleteObject (Object *object)
 

Additional Inherited Members

- Data Fields inherited from DataSet
std::vector< Object * > objects
 
int enum_type
 
int sorted
 
int presorted
 
int numsorted
 
int * sorted_ids
 
int * id_offsets
 

Detailed Description

Declaration of Materials class.

Declaration of Materials class. Materials are vector lists (Containers) of Material objects.

Definition at line 16 of file Materials.h.

Constructor & Destructor Documentation

◆ Materials()

Materials::Materials ( )

Definition at line 21 of file Materials.cpp.

21  {/*{{{*/
23  return;
24 }

◆ ~Materials()

Materials::~Materials ( )

Definition at line 26 of file Materials.cpp.

26  {/*{{{*/
27  return;
28 }

Member Function Documentation

◆ Configure()

void Materials::Configure ( Elements elements,
Loads loads,
Nodes nodes,
Vertices vertices,
Materials materials,
Parameters parameters 
)

Definition at line 32 of file Materials.cpp.

32  {/*{{{*/
33 
34  vector<Object*>::iterator object;
35  Material* material=NULL;
36 
37  for ( object=objects.begin() ; object < objects.end(); object++ ){
38 
39  material=xDynamicCast<Material*>(*object);
40  material->Configure(elements);
41 
42  }
43 
44 }

◆ ResetHooks()

void Materials::ResetHooks ( )

Definition at line 46 of file Materials.cpp.

46  {/*{{{*/
47 
48  vector<Object*>::iterator object;
49  Material* material=NULL;
50 
51  for ( object=objects.begin() ; object < objects.end(); object++ ){
52 
53  material=xDynamicCast<Material*>((*object));
54  material->ResetHooks();
55 
56  }
57 
58 }

The documentation for this class was generated from the following files:
Material::Configure
virtual void Configure(Elements *elements)=0
DataSet::objects
std::vector< Object * > objects
Definition: DataSet.h:19
Material
Definition: Material.h:21
DataSet::enum_type
int enum_type
Definition: DataSet.h:22
MaterialsEnum
@ MaterialsEnum
Definition: EnumDefinitions.h:1167
Material::ResetHooks
virtual void ResetHooks()=0