Go to the documentation of this file.
40 #ifndef vtkYoungsMaterialInterface_h
41 #define vtkYoungsMaterialInterface_h
43 #include "vtkFiltersGeneralModule.h"
51 class vtkYoungsMaterialInterfaceInternals;
65 vtkGetMacro(InverseNormal,
int);
75 vtkGetMacro(ReverseMaterialOrder,
int);
85 vtkGetMacro(OnionPeel,
int);
95 vtkGetMacro(AxisSymetric,
int);
106 vtkGetMacro(UseFractionAsDistance,
int);
115 vtkGetMacro(FillMaterial,
int);
123 vtkSetVector2Macro(VolumeFractionRange,
double);
124 vtkGetVectorMacro(VolumeFractionRange,
double,2);
140 vtkGetMacro(UseAllBlocks,
bool);
148 vtkGetMacro(NumberOfDomains,
int);
155 virtual void SetMaterialArrays(
int i,
const char* volume,
const char* normalX,
const char* normalY,
const char* normalZ,
const char* ordering );
156 virtual void SetMaterialArrays(
int i,
const char* volume,
const char* normal,
const char* ordering );
205 virtual
void Aggregate (
int,
int* );
207 void UpdateBlockMapping();
209 int CellProduceInterface(
int dim,
int np,
double fraction,
double minFrac,
double maxFrac );
219 int ReverseMaterialOrder;
220 int UseFractionAsDistance;
221 double VolumeFractionRange[2];
235 vtkYoungsMaterialInterfaceInternals* Internals;
virtual void SetMaterialVolumeFractionArray(int i, const char *volume)
virtual void SetMaterialArrays(int i, const char *volume, const char *normal, const char *ordering)
void PrintSelf(ostream &os, vtkIndent indent) override
Methods invoked by print to print information about the object including superclasses.
reconstructs material interfaces
virtual void SetMaterialOrderingArray(const char *volume, const char *ordering)
virtual int GetNumberOfMaterials()
virtual void SetMaterialNormalArray(int i, const char *normal)
Hold a reference to a vtkObjectBase instance.
static vtkYoungsMaterialInterface * New()
virtual void SetMaterialArrays(int i, const char *volume, const char *normalX, const char *normalY, const char *normalZ, const char *ordering)
Set ith Material arrays to be used as volume fraction, interface normal and material ordering.
virtual void AddMaterialBlockMapping(int b)
~vtkYoungsMaterialInterface() override
virtual void RemoveAllMaterials()
Removes all meterials previously added.
virtual void RemoveAllMaterialBlockMappings()
select blocks to be processed for each described material.
a simple class to control print indentation
dynamic, self-adjusting array of int
vtkBooleanMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkSetMacro(IgnoreDriverBugs, bool)
Updates the extensions string.
vtkYoungsMaterialInterface()
virtual void SetNumberOfMaterials(int n)
Sets/Gets the number of materials.
virtual void SetMaterialNormalArray(const char *volume, const char *normal)
Alternative API for associating Normal and Ordering arrays to materials identified by its volume-frac...
virtual void SetMaterialOrderingArray(int i, const char *ordering)
Superclass for algorithms that produce only vtkMultiBlockDataSet as output.