Exemple #1
0
        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");
        }
Exemple #2
0
 public ContinuityProjectionCDG(Basis myBasis)
 {
     CDGField = new ContinuousDGField(myBasis);
 }