You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: S2CondS2GridDistribution.m
    path of file: ./repos/libDirectional/lib/distributions/Conditional
    
    the code of the file until where you have to start completion: classdef S2CondS2GridDistribution < SdCondSdGridDistribution
    % In this class, a conditional distribution on the sphere is
    % described by grid values. For the conditional di
    
function of the Cartesian
    % product of two spheres. It obviously should only integrate to 1 for a
    % fixed b. To provide a grid for the Cartesian product of two spheres, we
    % generate the Cartesian product of the grids of the individual spheres.
    methods
        function this = S2CondS2GridDistribution(grid_, gridValues_)
            % Conditional distribution! First dim conditioned on second
            % dim.
            % Provide grid on the sphere, Cartesian product
            % will be grid on S2 x S2
            assert(size(grid_,1)==3);
            this = this@SdCondSdGridDistribution(grid_, gridValues_);
        end