protected override void CreateFields() { int degree = 1; //SpecFemBasis specBasis = new SpecFemBasis(this.GridData, degree); //Basis dgBasis = specBasis.ContainingDGBasis; //Basis cdgBasis = dgBasis; //specField = new SpecFemField(specBasis); //specFieldDG = new SinglePhaseField(dgBasis, "specFEM"); Basis dgBasis = new Basis(this.GridData, degree); Basis cdgBasis = new Basis(this.GridData, degree); origin = new SinglePhaseField(dgBasis, "origin"); cdgField = new ContinuousDGField(cdgBasis); result = new SinglePhaseField(cdgBasis, "result"); }
public ContinuityProjectionCDG(Basis myBasis) { CDGField = new ContinuousDGField(myBasis); }